← All topics

🌐 Interview Prep

Web & Frontend

HTML, CSS layout, the DOM, HTTP, browsers, React, security and accessibility: front-end and full-stack interview staples.

πŸ“˜ Learn it from scratch

Visual, hands-on lessons for every pattern in this topic. Do the lesson, then come back and the questions click.

100 questions, most asked first

Ordered so the most useful questions for learning each pattern come first.

#2What makes an API RESTful?HTTP & APIsEasyFree#3Cookies vs localStorage vs sessionStorageStorage & cachingEasyFree#4The CSS box modelBox modelEasyFree#5Flexbox vs CSS GridFlexboxEasyFree#7HTTP methods and status codesHTTP & APIsEasyFreeUnlock 26 more Web & Frontend questions Β· all 1,200 questions for $39/year (about 11Β’ a day)See full access#13State vs propsReactEasyπŸ”’#15Why do lists need keys?ReactEasyπŸ”’#17Semantic HTMLHTMLEasyπŸ”’#19Responsive designResponsive designEasyπŸ”’#20CSS position valuesCSS Grid & positioningEasyπŸ”’#21display none vs visibility hidden vs opacity 0Box modelEasyπŸ”’#25Lazy loading images and codeBrowser & performanceEasyπŸ”’#32SEO for web developersHTMLEasyπŸ”’#37Form validation on the client and the serverFormsEasyπŸ”’#38CSS units (px, em, rem, %, vw/vh)Responsive designEasyπŸ”’#40Pseudo-classes vs pseudo-elementsBox modelEasyπŸ”’#41CSS transitions vs animations vs JS animationBrowser & performanceEasyπŸ”’#43DOM APIs every frontend dev should knowDOM & eventsEasyπŸ”’#46Loading, empty and error statesState managementEasyπŸ”’#50401 vs 403 (and 404 for privacy)HTTP & APIsEasyπŸ”’#53What is a CDN?Storage & cachingEasyπŸ”’#55ClickjackingWeb securityEasyπŸ”’#64Lifting state up and prop drillingState managementEasyπŸ”’#67Debugging with browser DevToolsBrowser & performanceEasyπŸ”’#72Cross-browser compatibilityResponsive designEasyπŸ”’#73The viewport meta tagResponsive designEasyπŸ”’#75How do you center a div?FlexboxEasyπŸ”’#78Form submission and preventDefaultFormsEasyπŸ”’#91Mobile-first designResponsive designEasyπŸ”’#92Accessible formsAccessibilityEasyπŸ”’#93Color contrast and accessible colorAccessibilityEasyπŸ”’