--------------------------q3u8mER49ojl3eNTjoDiGW Content-Disposition: form-data; name="c"; filename="frontend.md" Content-Type: application/octet-stream # Frontend Developer Interviews: A Prep Checklist Frontend interviews usually mix JavaScript fundamentals, UI building, and a bit of system design. Here is a checklist that covers most loops. ## JavaScript fundamentals - Closures, scope, and `this`. - The event loop: microtasks versus macrotasks, and why `setTimeout(fn, 0)` runs after a resolved promise. - Promises and `async`/`await`, including error handling. - Equality, type coercion, and immutability. - Implementing small utilities by hand: debounce, throttle, deep clone, a simple event emitter. ## Browser and web platform Know how the browser renders a page (parse, style, layout, paint, composite), what causes layout thrashing, how CORS works, the difference between cookies, localStorage, and sessionStorage, and basic security issues such as XSS. ## Building UI live A common round is "build a component in 45 minutes": an autocomplete, a modal, a tabs widget, an infinite scroll list. Interviewers look for: - Clean state management and sensible component boundaries. - Keyboard accessibility and focus handling. - Handling loading, empty, and error states. - Talking through trade-offs while you code. ## CSS Be comfortable with flexbox, grid, specificity, positioning, and responsive layouts. You may be asked to center something or fix a broken layout without a framework. ## Frontend system design "Design a news feed" or "design a collaborative editor" from the client's point of view. Discuss data fetching and caching, pagination, optimistic updates, performance budgets, code splitting, and how you would monitor real-user performance. ## Bring a project you can discuss deeply Pick one project and know why you made each technical choice and what you would do differently. ## Rehearse Narrating your thinking while coding is a skill on its own. Practice with a timer, or use an [AI interview practice tool](https://www.linkjob.ai/) to get comfortable explaining decisions out loud. --------------------------q3u8mER49ojl3eNTjoDiGW--