Frontend interview questions
JavaScript, TypeScript, React, CSS, browser performance and accessibility.
359 questions · 29 topics · 58 free answers
0 of 359 practised · 0 bookmarked · saved on this device
13 questions match
CSS and layout#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.
#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.
#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.
#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.
#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.
#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.
#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.
#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.
#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.
#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.