Frontend System Design interview questions
100 Frontend Engineering practice questions. Read what a strong answer covers, then practise it out loud against the clock.
Practise Frontend System Design questionsBeginner
- A simple framework for answering frontend design questions
- Adding analytics and instrumentation to a frontend design
- Breaking a UI into components
- Choosing a rendering strategy for a new product
- Choosing how the client talks to the server
- Clarifying requirements in a design interview
- Clickjacking and frame protection
- Client-side validation vs server-side validation
- Common frontend security risks
- Cross-site request forgery (CSRF)
- Cross-site scripting (XSS)
- Design a file upload component
- Design a pagination component
- Design a reusable modal system for an app
- Design a search bar with recent searches
- Design a star rating component
- Design a theming approach supporting dark mode
- Design a to-do list app's frontend
- Design a user sign-up form
- Design an app-wide toast notification system
- Design an FAQ page that's easy to search
- Design an image carousel component
- Design an in-app notification dropdown
- Designing error handling in a frontend architecture
- Designing for multiple devices
- Feature flags in frontend architecture
- Planning API origins and CORS in a frontend architecture
- Planning internationalisation from the start
- Subresource Integrity
- The role of a design system in frontend architecture
- What frontend system design interviews cover
- Where to store authentication tokens in the browser
- Why HTTPS matters for frontend apps
- Why secrets must never be in frontend code
Intermediate
- Authentication flows for single-page apps
- Caching layers in a frontend architecture
- Choosing between Server-Sent Events and WebSockets in a design
- Client-side protections against overloading backends
- Design a calendar scheduling interface
- Design a chat application frontend
- Design a data table with sorting, filtering and pagination
- Design a dynamic form renderer from a JSON schema
- Design a multi-step onboarding wizard
- Design a nested comments section
- Design a photo sharing upload and gallery feature
- Design a search autocomplete
- Design a shopping cart and checkout flow
- Design a social media news feed
- Design a user settings page with many options
- Design a video streaming watch page
- Design an e-commerce product page
- Designing a Content Security Policy for a new app
- Designing APIs that serve the frontend well
- Designing frontends for multi-tenant SaaS
- Designing observability into a frontend system
- Designing the client data model in a system design answer
- DOM-based XSS sources and sinks
- Essential security headers for web apps
- Frontend supply chain risks
- Micro-frontends: benefits and costs
- Preventing open redirects after login
- Progressive enhancement in modern apps
- Protecting sensitive user data in the frontend
- Reducing risk from third-party scripts
- Safely displaying user-uploaded HTML or SVG content
- Secure cross-window communication patterns
- Using a backend-for-frontend for security
Experienced
- Build vs buy decisions in frontend architecture
- Building a frontend security programme
- Communicating architecture trade-offs
- Cross-origin isolation and its security model
- Design a canvas-based design tool frontend
- Design a collaborative document editor frontend
- Design a component library platform used by many teams
- Design a customisable analytics dashboard platform
- Design a live sports scores page with millions of viewers
- Design a progressive web app for unreliable networks
- Design a ticket booking frontend for high-demand events
- Design a web email client
- Design a web-based spreadsheet frontend
- Design an embeddable widget for third-party websites
- Design an interactive map-based search frontend
- Design the frontend for an AI chat assistant
- Designing a frontend for users on very slow networks
- Designing a frontend that survives a backend region outage
- Designing a localisation platform for a global product
- Designing authorisation-aware UIs
- Edge computing in frontend architecture
- Modular monolith vs micro-frontends
- Planning a large frontend architecture migration
- Privacy by design in frontend systems
- Real-time architecture choices for frontends at scale
- Recovering from a bad frontend deployment
- Reducing the impact of a successful XSS on sessions
- Responding to an XSS vulnerability found in production
- Running architecture reviews for frontend proposals
- Securing a payment checkout page
- The role of a frontend platform team
- Threat modelling a frontend application
- What scalability means for frontend systems