Frontend track

HTML, CSS, JavaScript and React interview questions

Panel-ready Frontend Master questions for freshers and experienced developers. Practice at Coding Cadre in Faridabad, or Online from Delhi NCR.

229 Qs
1 Easy CSS Frontend

What is the CSS box model?

Short take

Simple meaning

The box model is how the browser sizes an element: content, then padding, then border, then margin outside.

Open the full page for Why, Steps, Example and Key takeaway.

Read full answer Example · Mistake · Say this
2 Easy CSS Frontend

Why do teams set box-sizing to border-box?

Short take

Simple meaning

With content-box, padding and border sit on top of width so a 200px card can overflow its parent.

Open the full page for Why, Steps, Example and Key takeaway.

Read full answer Example · Mistake · Say this
4 Easy CSS Frontend

What does display flex do?

Short take

Simple meaning

Flexbox lays out children in a row or column and lets you align, wrap, and distribute leftover space.

Open the full page for Why, Steps, Example and Key takeaway.

Read full answer Example · Mistake · Say this
8 Easy CSS Frontend

How does z-index work?

Short take

Simple meaning

Z-index only applies to positioned elements, or those with certain properties that create a stacking context.

Open the full page for Why, Steps, Example and Key takeaway.

Read full answer Example · Mistake · Say this
15 Easy JavaScript Frontend

What is a closure in JavaScript?

Short take

Simple meaning

A closure is a function that remembers variables from the scope where it was created even after that outer function has returned.

Open the full page for Why, Steps, Example and Key takeaway.

Read full answer Example · Mistake · Say this
16 Easy JavaScript Frontend

What is hoisting in JavaScript?

Short take

Simple meaning

Declarations are moved to the top of their scope during compile, so you can call a function declaration before its line.

Open the full page for Why, Steps, Example and Key takeaway.

Read full answer Example · Mistake · Say this
18 Easy JavaScript Frontend

What is the difference between == and ===?

Short take

Simple meaning

Double equals coerces types, so 1 equals true and empty string equals false in some cases.

Open the full page for Why, Steps, Example and Key takeaway.

Read full answer Example · Mistake · Say this
20 Easy DOM Frontend

What is the DOM?

Short take

Simple meaning

The DOM is the browser's tree of nodes built from HTML so JavaScript can read and update the page.

Open the full page for Why, Steps, Example and Key takeaway.

Read full answer Example · Mistake · Say this
Page 1 of 4 Next
Chat with us