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.

4 Moderate CSS Frontend

Why might z-index seem to be ignored?

Short take Full answer on next page

Simple meaning

Z-index is compared only inside the same stacking context.

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

Read full answer Example · Mistake · Say this
6 Moderate HTML Frontend

How would you mark up an accessible dropdown?

Short take Full answer on next page

Simple meaning

I start with a button that has aria-expanded and aria-controls pointing at the list.

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

Read full answer Example · Mistake · Say this
10 Moderate JavaScript Frontend

How does prototypal inheritance work?

Short take Full answer on next page

Simple meaning

Objects have an internal prototype link used when a property is missing.

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

Read full answer Example · Mistake · Say this
11 Moderate JavaScript Frontend

What is the prototype chain?

Short take Full answer on next page

Simple meaning

It is the walk from an object to Object.prototype and then null while looking up a property.

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

Read full answer Example · Mistake · Say this
12 Moderate JavaScript Frontend

How would you implement debounce in an interview?

Short take Full answer on next page

Simple meaning

I keep a timeout id, clear it on every call, and set a new timeout that fires the original function after wait ms.

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

Read full answer Example · Mistake · Say this
14 Moderate DOM Frontend

What is event delegation and why is it useful?

Short take Full answer on next page

Simple meaning

I put one listener on a parent and use event.target to see which child was clicked.

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

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

What is the temporal dead zone?

Short take Full answer on next page

Simple meaning

Let and const exist in the scope from the start of the block but cannot be read until the declaration line.

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

Read full answer Example · Mistake · Say this
20 Moderate Browser Frontend

What is the Same-Origin Policy?

Short take Full answer on next page

Simple meaning

A page can freely read data only from the same scheme, host, and port.

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

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