Build a search box that loads results as the user types.
Frontend Engineer
Build a deeper understanding of what happens in the browser.
Choose where to begin
Learn the concepts, build a verifiable project, practice interview scenarios, or run a timed mock loop.
Interview practice
14 scenarios to explore
Design a confirmation dialog for deleting a saved item.
A dashboard becomes unresponsive when it displays thousands of records.
Predict the log order: console.log("A"); setTimeout(() => console.log("B"), 0); Promise.resolve().then(() => console.log("C")); console.log("D"). Explain why.
Implement debounce(fn, delay) so a search callback runs once after typing stops. Explain what state the wrapper keeps.
An editable list uses array indices as component keys. After sorting, text typed into one row appears beside another record. Explain the bug.
A server-rendered page shows hydration warnings and briefly displays the wrong content. How would you investigate?
Design validation for a signup form that works with a keyboard and screen reader.
A long-lived callback logs an outdated form value after the user edits the form. Explain how closures can produce this behavior.
A flex row contains an icon, a filename, and an action button. A long filename pushes the button beyond the viewport. How would you debug it?
A dashboard fetches profile, notifications, and recommendations with Promise.all. Recommendations fail, and nothing renders. Improve the flow.
A single-page app becomes slower after repeatedly opening and closing a screen. One click eventually triggers several requests. Investigate.
Content shifts after initial render and users sometimes tap the wrong control. Explain how to find and reduce the shifts.
Describe a frontend feature or project you built from scratch. How did you manage state, error recovery, and accessibility?