Accessibility
ARIA patterns, keyboard support, focus management, semantic HTML and screen-reader behaviour.
2.Accordion
Build an accessible accordion with expandable sections and full keyboard support.
3.Contact Form
Build a contact form with accessible inline validation, a submitting state and a success message.
4.Digital Clock
Build a ticking digital clock that stays aligned to real seconds, with a 12/24-hour toggle and clean timer teardown.
5.Generate Table
Generate a numbered table from row and column inputs, filled row by row, column by column or in a snake pattern.
6.Like Button
Build a toggle Like button that talks to a flaky API, with pending, error and accessible pressed states.
7.Star Rating
Build a star rating input with hover preview, keyboard support and a clear button, built on native radios.
8.Tabs
Build a tabs component that shows one panel at a time, with the correct tab roles and selected state.
9.Todo List
Build a todo list with add, complete, delete and filters, using semantic forms and good focus management.
11.How does the native <dialog> element work, and what does showModal() give you over a custom modal?
Top layer, inertness, focus handling, Escape, ::backdrop, form method=dialog and remaining gaps.
12.Autocomplete / Typeahead Component
Design a reusable, accessible autocomplete component with debounced search, caching, race handling and keyboard navigation.
13.Dropdown Menu Component
Design an accessible dropdown/action menu with submenus, typeahead, robust positioning and focus management.
14.Image Carousel Component
Design an accessible, performant image carousel with swipe, autoplay, lazy loading and responsive images.
15.Modal Dialog Component
Design an accessible modal dialog: native dialog vs custom, focus trapping, scroll locking, stacking and API.
16.Embeddable Poll Widget
Design a poll widget embeddable on many sites, with voting, live results, abuse prevention and isolation.
17.Data Table
Build a paginated users table with a rows-per-page selector and previous/next navigation.
18.File Explorer
Render a nested folder/file tree where folders expand and collapse, sorted folders-first.
19.Image Carousel
Build an accessible image carousel with previous/next controls, wrap-around and dot navigation.
20.Job Board
Build a paginated job board on a Hacker News-style API: fetch ids, then load job details in parallel pages.
21.Memory Game
Build a card-matching memory game with timed flip-back, move counting and screen-reader friendly announcements.
22.Modal Dialog
Build a reusable modal dialog with a portal, labelled dialog semantics, Escape and backdrop dismissal, and focus restoration.
23.Progress Bars
Each click adds a progress bar that fills from 0 to 100% over two seconds, driven by requestAnimationFrame.
24.Sign-up Form Validation
Build a sign-up form with on-blur validation, a live password checklist, cross-field checks and a show-password toggle.
25.Stopwatch
Build an accurate stopwatch with start, stop, lap and reset, based on timestamps rather than counting ticks.
26.Tabs II: Keyboard Accessible
Add roving tabindex, arrow-key navigation and automatic or manual activation to a tabs component.
27.Tic-tac-toe
Build a two-player tic-tac-toe game with win and draw detection, a live status and a keyboard-navigable board.
28.Toast Notifications
Build a toast system with a context API, live-region announcements, auto-dismiss that pauses on hover or focus, and a visible limit.
29.Tooltip and Popover
Build an accessible hover/focus tooltip and a click-triggered popover, and explain when to use each.
30.Traffic Light
Build a traffic light that cycles through configurable states with timers, a pause control and clean effect teardown.
31.Transfer List
Move checked items between two lists with per-list select-all and bulk transfer controls.
32.Users Database (CRUD)
Build a small users database with search, a keyboard-accessible listbox, and create, update, delete and cancel actions.
33.Whack-a-Mole
Build a timed whack-a-mole game with random moles, scoring, a countdown and keyboard play, managing several timers safely.
34.Data Table / Data Grid Component
Design a reusable data table with sorting, filtering, pagination, selection, column resizing and virtualization.
35.Design System at Scale
Design a company-wide design system (tokens, components, docs, tooling) consumed by dozens of teams across multiple frameworks and brands.
36.Rich Text Editor Component
Design a reusable rich text editor: document model vs contenteditable, transactions, plugins, paste, IME and accessibility.
37.Video Conferencing App (e.g. Zoom, Google Meet)
Design a browser video meeting app with WebRTC, an SFU, simulcast, adaptive layouts, screen sharing and chat.
38.Video Streaming Service (e.g. Netflix)
Design a Netflix-style web client: browse rows of titles, a video player with adaptive bitrate streaming, DRM, and resume playback.
40.Selectable Cells (Drag Select)
Build a grid where dragging selects a rectangle of cells, with modifier-key multi-select and a full keyboard equivalent.
41.Wordle
Build a Wordle clone with physical and on-screen keyboards, correct duplicate-letter scoring and accessible feedback.
42.What is the `useId` hook in React and when should it be used?
SSR-safe unique ids for accessibility attributes, and why not for keys.
43.Dice Roller
Roll a chosen number of six-sided dice, draw each face with CSS pips and announce the total accessibly.
44.Hello World Counter
Build a counter with increment, decrement and reset that never drops below zero and announces its value.
45.Holy Grail Layout
Build the classic header, three columns and footer layout with CSS Grid, landmarks, a sticky footer and responsive stacking.
46.Mortgage Calculator
Calculate the monthly payment, total cost and total interest of a fixed-rate loan as the user types.
47.Progress Bar
Build a reusable, accessible progress bar that clamps its value and shows the percentage.
48.Tweet Card
Build a social post card with semantic markup, relative timestamps, compact counts and accessible action buttons.
49.Tell me about a time you advocated for accessibility
Show how you made accessibility a team and organisation priority, not a one-off fix, and how you measured progress.
50.How do ARIA live regions work, and how do you announce dynamic updates reliably?
polite vs assertive, status and alert roles, aria-atomic, timing pitfalls and an announcer pattern.
53.When should you virtualise a long list, how does it work, and what does it cost you?
Windowing mechanics, variable heights, accessibility and find-in-page trade-offs, and alternatives like content-visibility.
55.What are React Portals used for?
Rendering into another DOM node while staying in the React tree for context and events.
56.Date Picker Component
Design an accessible, localised date and date-range picker with keyboard grid navigation, time zones and validation.
57.Image Uploader Component
Design a multi-file image uploader with previews, client-side resizing, resumable direct-to-storage uploads and progress.
58.Accordion II: Single Open, Controlled
Extend an accordion so only one section is open at a time, with optional collapsing and a controlled API.
59.Analog Clock
Draw a ticking analog clock in SVG with correctly rotated hour, minute and second hands and an accessible name.
60.Auth Code Input
Build a one-time-code input split into digit boxes with auto-advance, backspace, arrow keys and paste support.
61.Birth Year Histogram
Bucket a list of birth years into a bar-chart histogram with adjustable bucket size and an accessible data-table view.
62.Data Table II: Sorting and Filtering
Add sortable column headers and a search filter to a paginated users table.
63.Dropdown Menu
Build an accessible menu button: open and close, arrow-key and typeahead navigation, outside click and focus return.
64.Grid Lights
Build a grid of toggle lights that, once all are lit, switch off one by one in reverse activation order.
65.Infinite Scroll Feed
Build a cursor-paginated feed that loads more posts as you scroll, with abort handling, retries and the ARIA feed pattern.
66.Multi-step Form Wizard
Build a three-step sign-up wizard with per-step validation, a progress indicator, focus management and a review step.
67.Nested Checkboxes
Build a checkbox tree where parents reflect their children as checked, unchecked or indeterminate.
68.Pixel Art Editor
Build a 16×16 pixel-art editor with a colour palette, draw/erase tools, click-and-drag painting and keyboard drawing.
69.How do you validate form elements using the Constraint Validation API?
Native form validation with ValidityState, setCustomValidity and accessible custom error UI.
70.Autocomplete / Typeahead
Build an accessible combobox that searches an async API with debouncing, caching and race-condition handling.
71.Connect Four
Build Connect Four with gravity drops, last-move win detection, column-based keyboard controls and announced moves.
72.Date Picker
Build a date input with a calendar dialog following the WAI-ARIA date picker pattern: grid keyboard navigation, focus trap and return.
73.Drag-and-Drop Sortable List
Build a reorderable list with pointer dragging and a full keyboard alternative: pick up, move, drop or cancel, with announcements.
74.File Explorer II: Keyboard Tree
Turn a file explorer into a WAI-ARIA tree view with roving focus, arrow-key navigation and type-ahead.
75.Image Carousel II: Infinite Transitions
Extend the image carousel with sliding animations that loop seamlessly in both directions.
76.Kanban Board
Build a kanban board with normalised state, adding and deleting cards, and moving cards between columns by pointer or keyboard.