MockQuestions

Front End Developer Mock Interview

To help you prepare for your Front End Developer interview, here are 30 interview questions and answer examples.

Front End Developer was updated by on August 5th, 2021. Learn more here.

Question 1 of 30

Talk to me about z-index and how stacking context is formed.

"Z-index is a CSS property that determines the z-order of an element position within the container and its descendants. Elements with larger z-index cover or overlap those with smaller ones. This is also known as stacking context. Stacking context allows an element with a fixed position to overlap one with a large z-index, especially if the z-index value is auto."

Next Question

30 Front End Developer Interview Questions & Answers

Below is a list of our Front End Developer interview questions. Click on any interview question to view our answer advice and answer examples. You may view 5 answer examples before our paywall loads. Afterwards, you'll be asked to upgrade to view the rest of our answers.

  • 1. Talk to me about z-index and how stacking context is formed.

  • 2. Are you familiar with the term CoffeeScript, and do you know how it is used in front end web development?

  • 3. What does the acronym CORS stand for, and what programming issue does it help resolve?

  • 4. Please discuss the differences between the call, apply and bind commands?

  • 5. Can you provide men an overview of the Delegation Event Model?

  • 6. Our web development team uses JSONP. Are you familiar with this, and do you use it in your web development?

  • 7. Can you discuss the differences between session storage, cookies, and local storage?

  • 8. What is Representational State Transfer, or REST, and how would you use it when developing a front end for a website?

  • 9. Please describe what the acronym NPM stands for and how it is used in front end development.

  • 10. Can you describe Ajax and discuss what it is used for?

  • 11. Which technique do you prefer to use, resetting or normalizing CSS, and why?

  • 12. How would you integrate several different stylesheets into a website?

  • 13. Can you compare progressive enhancement and graceful degradation?

  • 14. What are floats, and how they work?

  • 15. Describe what CSS selector specificity is and how it works?

  • 16. What methodologies do you use to ensure that your web application is user-friendly?

  • 17. Walk me through your workflow when you are creating a web page.

  • 18. Can you define Block Formatting Context and describe how it works?

  • 19. What version control systems have you worked with?

  • 20. Can you explain the techniques you use to ensure front-end security?

  • 21. How has working with the 'this' keyword changed in JavaScript ES6?

  • 22. When working on a web development project, what do you do to improve your code's maintainability?

  • 23. Can you explain how prototypal inheritance works?

  • 24. Tell me about the SEO best practices or techniques you use in your work.

  • 25. Please discuss the difference between null, undefined or undeclared variables.

  • 26. How do you go about addressing browser-specific rendering challenges?

  • 27. What features of HTML5 have you implemented in your front end development projects?

  • 28. How do you use a closure when you are writing front end code?

  • 29. How do you increase the performance of a new web site you develop?

  • 30. Please discuss CSS float and give me an example of how you use it when developing web sites.