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
81 Moderate JavaScript Frontend

What is the prototype chain?

Short take

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
82 Moderate JavaScript Frontend

How would you implement debounce in an interview?

Short take

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
86 Moderate JavaScript Frontend

What is the temporal dead zone?

Short take

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
90 Moderate Browser Frontend

What is the Same-Origin Policy?

Short take

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
91 Moderate React Frontend

How does React reconciliation work?

Short take

Simple meaning

React compares the new element tree with the previous one by type and key.

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

Read full answer Example · Mistake · Say this
97 Moderate React Frontend

When is Context a bad fit compared with Redux?

Short take

Simple meaning

Context re-renders all consumers when the provider value changes, so putting a rapidly updating cart in a huge provider is costly.

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

Read full answer Example · Mistake · Say this
99 Moderate React Frontend

What are the rules of hooks?

Short take

Simple meaning

Only call hooks at the top level of a React function, not in loops or conditions, so the order stays stable.

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

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