Frontend Interview Questions
Landing a job is hard work. While it’s impossible to know the answer to every question that an interviewer may asks you, there are a few common questions that you can prepare for.
People have no idea of what kind of frontend interview questions to expect when you’re applying for a job.
In this article, I’ll share some frequently asked Frontend interview questions from different interviews for programmers at different levels of experience.
Here is my list of some of the most frequently asked coding interview questions from frontend job interviews:
Machine Coding Interview Questions
- Create product result page (with filter, sorting) using vanilla JS
- Create autocomplete
- Create Calendar
Top Javascript Interview Questions
- Difference between let, var and const
- What is context in JS?
- Difference between map, reduce and filter
- Difference between class and function
- Normal Function vs Arrow function
- Difference between async and defer
- Difference between == and ===
- Difference between setTimeout and setInterval
- What are the different DOM API’s
- DOM vs Virtual DOM
- How Event loop works
- What is event delegation
- Difference between call, bind and apply
- Explain Promise
- Throttling vs Debouncing
- What is Closure and why should we use closure
- What are the different internal storage and its differences
- What is variable hoisting
- Difference between document.ready(){} and window.onload(){}
- What is async, preload, prefetch in script
- Callback vs Promise
- Explain Currying
- Questions related to flatten array
- Call by value vs Call by reference
- Prototypal inheritance
- How do you optimise page performance
- Write polyfill for Filter, Reduce, Promise
Top CSS Interview Questions
- Explain display properties and its difference
- Explain position properties and its difference
- Difference between div and span
- What is box model
- Difference between display: none; visibility: hidden; opacity: 0;
- Create a Modal
- What do you know about sprites
- What are the different CSS preprocessor
Top HTML Interview Questions
- What is DoctTYPE
- What are the HTML5 tags
- What is semantic HTML
Web Browser Related Questions
- How does browser works
- Cross browser testing
- A/B testing
- HTTP1 vs HTTP2
- CORS
- CI/CD
Tools Related Questions
- Webpack
- Babel
- What is tree shaking
Other framework questions
- Explain how react works
- Why are we using redux, state management.
- React LifeCycle methods
- Hooks Concept
- Explain Context API
- What is ref in React
- Difference between pure component, function component and class component in React
- What is Server Side rendering
- What are the different testing techniques
Good luck and let me know if you have any questions here @suprabhasupi 😋