Frontend Interview Questions

Master the theory behind JavaScript, CSS, HTML & React.

30 Questions3 Topics
01

CSS Box Model

Understanding the CSS box model

css
02

How to center a div

How to center a div using CSS. We will cover 4 different approaches: flexbox, grid, margin-auto, and position-absolute.

csseasy
03

Difference between cookie, sessionStorage, and localStorage

Understanding the differences between cookie, sessionStorage, and localStorage

css
04

Difference between px, rem, em units

Understanding the differences between px, rem, em units

css
05

Difference between reset.css and normalize.css

Understanding the differences between reset.css and normalize.css

css
06

Difference between script, script-async, script-defer

Understanding the differences between script, script-async, script-defer

css
07

z-index css

Understanding the z-index and stacking context

css
08

Understanding call(), apply() and bind() methods

Understanding call, apply, bind methods

javascript
09

What is the Closure in JavaScript?

Understanding closures in JavaScript

javascript
10

What are the data types in JavaScript?

Understanding the data types in JavaScript

javascript
11

JavaScript Event Loop

Understanding how JavaScript's event loop, call stack, and task queue work together

javascriptmedium
12

Events: bubbling, capturing, propagation, delegation

Understanding events in JavaScript

javascript
13

Generators and Iterators in JavaScript

Understanding generators and iterators in JavaScript

javascript
14

High Order Functions

Understanding high order functions in JavaScript

javascript
15

Hoisting in JavaScript

Understanding hoisting in JavaScript

javascript
16

How does a browser render a webpage?

Understanding how a browser renders a webpage

javascript
17

Javascript Modules: AMD, CommonJS, ES6 Modules

Understanding javascript modules in JavaScript

javascript
18

Memory Management and Garbage Collection in Javascript

Understanding memory management and garbage collection in JavaScript

javascript
19

Pass by value and reference

Understanding pass by value and reference in JavaScript

javascript
20

Understanding Promise in JavaScript

Understanding promise, promise chain, promise.all vs promise.race in JavaScript

javascript
21

Prototypes

Understanding prototypes in JavaScript

javascript
22

Pure and Impure functions

Understanding pure and impure functions in JavaScript

javascript
23

Scope, Lexical Environment, Execution Context

Understanding scope, lexical environment, and execution context in JavaScript

javascript
24

this keyword in javascript

Understanding the this keyword in JavaScript

javascript
25

What happens when you type URL in browser

Understanding what happens when you type URL in browser

javascript
26

var, let, and const

Understanding the differences between var, let, and const in JavaScript

javascripteasy
27

Accessibility Best Practices

Best practices for building accessible web applications

optimizations
28

Performance Best Practices

Best practices for building performant web applications

optimizations
29

Security Best Practices

Best practices for building secure web applications

optimizations
30

SEO Best Practices

Best practices for building SEO-friendly web applications

optimizations