[go: up one dir, main page]

0% found this document useful (0 votes)
17 views2 pages

react interview questions

This document contains a comprehensive list of interview questions for frontend developers, covering topics in HTML, CSS, JavaScript, React.js, and Redux. Each section includes fundamental concepts and practical applications relevant to frontend development. The questions are designed to assess both theoretical knowledge and practical skills in these areas.

Uploaded by

Ahmed saikaly
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
17 views2 pages

react interview questions

This document contains a comprehensive list of interview questions for frontend developers, covering topics in HTML, CSS, JavaScript, React.js, and Redux. Each section includes fundamental concepts and practical applications relevant to frontend development. The questions are designed to assess both theoretical knowledge and practical skills in these areas.

Uploaded by

Ahmed saikaly
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

*Frontend Developer Interview Questions*

*HTML & CSS*

1. What is the difference between em and rem units in CSS?


2. Explain the purpose of the meta viewport tag in responsive design.
3. How would you implement a responsive navigation bar using CSS?
4. What are pseudo-elements in CSS? Can you give examples?
5. Explain the CSS Box Model and its components.
6. What is the difference between inline, inline-block, and block elements in HTML?
7. What are media queries, and how would you use them in a project?
8. What is the difference between relative, absolute, fixed, and sticky positioning in CSS?

*JavaScript*

1. What is the difference between var, let, and const in JavaScript?


2. Explain the concept of closures in JavaScript with an example.
3. How does the this keyword work in JavaScript?
4. What are higher-order functions, and can you provide an example?
5. What is the difference between synchronous and asynchronous JavaScript?
6. Explain the difference between forEach and map methods in arrays.
7. What is the purpose of promises, and how do you use them?
8. What are arrow functions, and how do they differ from regular functions?
9. How does event delegation work in JavaScript?
10. What are REST APIs?
11. How do you ensure the security of an API?
12. Explain the purpose of HTTP status codes in API responses.
13. How would you optimize API performance?
14. What is the difference between GET and POST methods in REST APIs?

*React.js*

1. What is the virtual DOM, and how does React use it?
2. Explain the difference between functional components and class components in React.
3. What is the purpose of useState and useEffect hooks?
4. How does props differ from state in React?
5. What are controlled and uncontrolled components in React?
6. How do you handle forms in React?
7. What is React context, and how does it help in state management?
8. How would you optimize a React application for performance?
9. What is the difference between useMemo and useCallback hooks?
10. Explain React's lifecycle methods and their equivalents in hooks.

*Redux*

1. What are the three core principles of Redux?


2. Explain the structure of a Redux application.
3. What is the role of actions in Redux? Can you provide an example?
*ENJOY LEARNING* 👍👍

You might also like