New: the frontend interview roadmap is live. Read it now
CodeBeacon

Blog

Interview questions with clear answers, code examples and links to go deeper.

Frontend articles

Frontend

XSS, CSRF and CORS explained: frontend security interview questions

The difference between XSS, CSRF and CORS, how React protects you, where to store tokens, what a preflight request is and how to fix the common CORS error.

8 min read · Oct 31, 2026

Frontend

Web accessibility (a11y) interview questions and answers (2026)

Semantic HTML, keyboard access, ARIA, color contrast, focus management and testing: the accessibility questions frontend interviewers ask, with clear answers and code.

9 min read · Oct 31, 2026

Frontend

Responsive design interview questions: mobile-first, media queries and container queries

Mobile-first design, media queries, fluid typography with clamp, container queries, responsive images and testing: answers and code for frontend interviews.

8 min read · Oct 31, 2026

Frontend

HTTP and REST API interview questions for frontend developers

HTTP methods, status codes, headers, caching, fetch error handling, REST design, authentication and pagination: the API questions frontend interviews ask, with examples.

9 min read · Oct 31, 2026

Frontend

20 HTML interview questions and answers with examples (2026)

HTML interview questions on semantic elements, doctype, forms, data attributes, script loading, meta tags and SEO basics, with short answers and code you can reuse.

9 min read · Oct 31, 2026

Frontend

How browsers render a page: critical rendering path, reflow and repaint

What happens between receiving HTML and seeing pixels: DOM, CSSOM, layout, paint and compositing, why scripts block rendering, and how to avoid layout thrashing.

8 min read · Oct 31, 2026

Frontend

Frontend system design interview: how to design autocomplete, infinite scroll and a news feed

A practical framework for frontend system design interviews, with worked answers for an autocomplete search box, infinite scroll and a news feed, covering state, caching and performance.

9 min read · Oct 31, 2026

Frontend

CSS interview questions: specificity, box model, positioning and stacking

The CSS fundamentals interviewers test: specificity, the cascade, box-sizing, position, z-index and stacking contexts, units, variables and pseudo-classes, with examples.

9 min read · Oct 31, 2026

Frontend

CSS Flexbox vs Grid: interview questions and answers (2026)

When to use Flexbox and when to use CSS Grid, how the axes work, why flex items overflow, auto-fit vs auto-fill, grid areas and subgrid, with short answers and code.

9 min read · Oct 31, 2026

Frontend

Core Web Vitals explained: LCP, INP and CLS interview questions

What the three Core Web Vitals measure, the thresholds for a good score, how to fix each one in React and Next.js, and how to measure them with lab and field data.

8 min read · Oct 31, 2026

Frontend

Behavioral interview questions for frontend developers, with sample answers

How to answer behavioral interview questions using the STAR method, with sample answers for conflict, deadlines, mistakes, code review and teamwork, written for frontend developers.

8 min read · Oct 31, 2026

Frontend

Frontend developer interview roadmap: what to study and in what order

A practical study plan covering HTML, CSS, JavaScript, React, Git and system design basics.

5 min read · Oct 2, 2026

Study with a plan

Pick a track, work through the checklist and read the matching articles.

Interview prep