Skip to content

Frontend interview questions

JavaScript, TypeScript, React, CSS, browser performance and accessibility.

359 questions · 29 topics · 58 free answers

Frontend Developer roadmap4 stages from basics to interview-ready. Learn the gaps, then come back and practise.

0 of 359 practised · 0 bookmarked · saved on this device

13 questions match

CSS and layout
  1. #1What is specificity in CSS?EasyConceptCSS and layout Pro answer

    This answer is part of Pro

    10 of 359 Frontend answers are free. A Pro pass opens the rest, including hands-on task steps.

  2. #2When would you use Flexbox and when CSS Grid?MediumConceptCSS and layout Pro answer

    This answer is part of Pro

    10 of 359 Frontend answers are free. A Pro pass opens the rest, including hands-on task steps.

  3. #3How does position sticky work and why might it fail?MediumConceptCSS and layout Pro answer

    This answer is part of Pro

    10 of 359 Frontend answers are free. A Pro pass opens the rest, including hands-on task steps.

  4. #4What creates a stacking context?MediumConceptCSS and layout Pro answer

    This answer is part of Pro

    10 of 359 Frontend answers are free. A Pro pass opens the rest, including hands-on task steps.

  5. #5What are container queries?MediumConceptCSS and layout Pro answer

    This answer is part of Pro

    10 of 359 Frontend answers are free. A Pro pass opens the rest, including hands-on task steps.

  6. #6What is the difference between rem, em and px?MediumConceptCSS and layout Pro answer

    This answer is part of Pro

    10 of 359 Frontend answers are free. A Pro pass opens the rest, including hands-on task steps.

  7. #7How do you build a mobile-first responsive layout?MediumConceptCSS and layout Pro answer

    This answer is part of Pro

    10 of 359 Frontend answers are free. A Pro pass opens the rest, including hands-on task steps.

  8. #8What causes layout shift and how do you avoid it?MediumConceptCSS and layout Pro answer

    This answer is part of Pro

    10 of 359 Frontend answers are free. A Pro pass opens the rest, including hands-on task steps.

  9. #9A fixed header covers content when users jump to an anchor. How do you fix it?MediumScenarioCSS and layout Pro answer

    This answer is part of Pro

    10 of 359 Frontend answers are free. A Pro pass opens the rest, including hands-on task steps.

  10. #10A card grid should show as many columns as fit, at least 280px wide. How do you write it?MediumScenarioCSS and layout Pro answer

    This answer is part of Pro

    10 of 359 Frontend answers are free. A Pro pass opens the rest, including hands-on task steps.

Hunting for a Frontend role too? See open Frontend jobs.