Frontend Developer Interview Questions

8,963 frontend developer interview questions shared by candidates

1. Explain the DOM and how it works. 2. What are semantic HTML elements? 3. How does CSS specificity work? 4. What is the difference between `inline`, `inline-block`, and `block` elements? 5. Explain the box model in CSS. 6. How do you optimize a website’s performance? 7. What is the purpose of responsive design? 8. How does Flexbox differ from CSS Grid? 9. What are media queries? 10. Explain the difference between `position: relative` and `absolute`. 11. What are pseudo-classes and pseudo-elements? 12. What is the difference between `var`, `let`, and `const` in JavaScript? 13. How does JavaScript handle asynchronous operations? 14. Explain event delegation in JavaScript. 15. What is the purpose of `this` in JavaScript? 16. How do closures work in JavaScript? 17. Explain the virtual DOM in React. 18. What are React hooks? 19. How do you manage state in a React application? 20. What is the difference between a controlled and uncontrolled component in React? 21. What is the lifecycle of a React component? 22. How do you optimize a React app’s performance? 23. What is the role of a build tool like Webpack? 24. How do Single Page Applications (SPAs) work? 25. What are REST APIs, and how do you interact with them? 26. How do you handle cross-browser compatibility issues? 27. What are the advantages of TypeScript over JavaScript? 28. How do you implement accessibility in a web application? 29. How do you debug JavaScript code? 30. What front-end development tools and frameworks do you prefer, and why?

Frontend Developer

Interviewed at Delicious Dabbas Food Chain & co.

Jan 16, 2025

1. Explain the DOM and how it works. 2. What are semantic HTML elements? 3. How does CSS specificity work? 4. What is the difference between `inline`, `inline-block`, and `block` elements? 5. Explain the box model in CSS. 6. How do you optimize a website’s performance? 7. What is the purpose of responsive design? 8. How does Flexbox differ from CSS Grid? 9. What are media queries? 10. Explain the difference between `position: relative` and `absolute`. 11. What are pseudo-classes and pseudo-elements? 12. What is the difference between `var`, `let`, and `const` in JavaScript? 13. How does JavaScript handle asynchronous operations? 14. Explain event delegation in JavaScript. 15. What is the purpose of `this` in JavaScript? 16. How do closures work in JavaScript? 17. Explain the virtual DOM in React. 18. What are React hooks? 19. How do you manage state in a React application? 20. What is the difference between a controlled and uncontrolled component in React? 21. What is the lifecycle of a React component? 22. How do you optimize a React app’s performance? 23. What is the role of a build tool like Webpack? 24. How do Single Page Applications (SPAs) work? 25. What are REST APIs, and how do you interact with them? 26. How do you handle cross-browser compatibility issues? 27. What are the advantages of TypeScript over JavaScript? 28. How do you implement accessibility in a web application? 29. How do you debug JavaScript code? 30. What front-end development tools and frameworks do you prefer, and why?

Viewing 1601 - 1610 interview questions

Glassdoor has 8,963 interview questions and reports from Frontend developer interviews. Prepare for your interview. Get hired. Love your job.