Frontend Interview Questions
- CSS
- HTML
- JS
- ReactJS
Intermediate
JS
What is memoization
Easy
JS
Define anonymous function
Easy
JS
What are arrow functions?
Easy
CSS
What is Box model in CSS?
Easy
ReactJS
Why can’t browsers read JSX?
Advanced
JS
What is code splitting
Intermediate
JS
How do you compare Object and Map
Intermediate
ReactJS
What is Context?
Advanced
CSS
What is CSS BEM?
Advanced
JS
What is CSS in JS
Intermediate
HTML
What is Data List Tag?
Intermediate
JS
What is the difference between Debounce and throttle
Easy
CSS
What is the difference between em
and rem
units?
Intermediate
CSS
What is the difference between Focus and Focus-within?
Easy
JS
What is the difference between the postfix i++
and prefix ++i
increment operators?
Easy
CSS
What is the difference between Pseudo-classes
and pseudo-elements
?
Easy
JS
What is the difference between the equality operators ==
and ===
?
Easy
JS
How to add drag and drop functionality to the hmtl element?
Intermediate
JS
What is the value of clothes[0]
const clothes = ['jacket', 't-shirt']; clothes.length = 0; clothes[0]; // => ???
Intermediate
JS
How to find largest among 2 numbers without using if
?
Intermediate
ReactJS
How to use innerHTML in React?
Advanced
JS
What is hoisting in JavaScript
Easy
JS
What is NaN in JavaScript
Intermediate
JS
What is Strict mode in JavaScript?
Intermediate
JS
What is JSON and its common operations
Advanced
JS
What is Nullish coalescing operator ?
Advanced
JS
What is proxy in javascript
Intermediate
JS
How do you redeclare variables in switch block without an error
Easy
HTML
What are self closing tags in HTML?
Easy
HTML
What are Semantic elements in HTML?
Easy
ReactJS
What is State in ReactJS?
Intermediate
JS
What is the difference between synchronous and asynchronous code in JavaScript?
Intermediate
JS
Ternary Operator
Easy
CSS
What are the different ways to include CSS in webpages?
Intermediate
JS
What are closures
Easy
ReactJS
What is JSX?
Intermediate
JS
What is a callback hell
Advanced
CSS
What is CSS Preprocessor ?
Easy
HTML
What does a <DOCTYPE html>
do?
Easy
JS
What is ES6
Intermediate
JS
What is Optional Chaining?
Easy
ReactJS
What is Virtual DOM ?