Interviews
Get started
Prepare
Prepare
New questions added in May 2026 ->
Pricing
Sign in / up
Get full access
New questions added in May 2026 ->
Pricing
Sign in / up
Get full access
User interface coding
JavaScript functions
System design
Quiz
Algorithmic coding
User Interface Coding Questions
Build dynamic user interfaces using HTML, CSS, JavaScript, or popular UI frameworks like React, Angular, or Vue.
Code in browser
Questions and solutions by ex-interviewers
Test scenarios
Search questions
Sort by
Number of questions
5
9
59
questions
Total time
2
5
25
hours total
Questions List
User Interface Coding Guides
Gain an insider overview of essential tips to prepare effectively before you begin practicing.
0
/3 guides
GUIDES
Counter
Warm up question
Build a simple counter that increments whenever a button is clicked
User interface coding
UI coding
Difficulty
Easy
Available frameworks
Users completed
44k done
Todo List
Build a Todo list that lets users add new tasks and delete existing tasks
User interface coding
UI coding
Difficulty
Medium
Available frameworks
Users completed
15.5k done
Job Board
Build a job board that displays the latest job postings from Hacker News
User interface coding
UI coding
Difficulty
Medium
Available frameworks
Users completed
6.53k done
Contact Form
Build a contact form which submits user feedback and contact details to a back end API
User interface coding
UI coding
Difficulty
Easy
Available frameworks
Users completed
24k done
Tabs
Build a tabs component that displays a list of tab elements and one associated panel of content at a time
User interface coding
UI coding
Difficulty
Medium
Available frameworks
Users completed
11.7k done
Tabs II
Premium
Build a semi-accessible tabs component that has the right ARIA roles, states, and properties
User interface coding
UI coding
Difficulty
Medium
Available frameworks
Users completed
1.06k done
Tabs III
Premium
Build a fully accessible tabs component that has keyboard support according to ARIA specifications
User interface coding
UI coding
Difficulty
Medium
Available frameworks
Users completed
694 done
Accordion
Build an accordion component that displays a list of vertically stacked sections with each containing a title and content snippet
User interface coding
UI coding
Difficulty
Easy
Available frameworks
Users completed
12.6k done
Accordion II
Premium
Build an accessible accordion component that has the right ARIA roles, states, and properties
User interface coding
UI coding
Difficulty
Medium
Available frameworks
Users completed
1.5k done
Accordion III
Premium
Build a fully accessible accordion component that has keyboard support according to ARIA specifications
User interface coding
UI coding
Difficulty
Medium
Available frameworks
Users completed
859 done
Holy Grail
Build the famous holy grail layout consisting of a header, 3 columns, and a footer
User interface coding
UI coding
Difficulty
Easy
Available frameworks
Users completed
19k done
Progress Bars
Build a list of progress bars that fill up gradually when they are added to the page
User interface coding
UI coding
Difficulty
Easy
Available frameworks
Users completed
6.66k done
Star Rating
Build a star rating component that shows a row of star icons for users to select the number of filled stars corresponding to the rating
User interface coding
UI coding
Difficulty
Medium
Available frameworks
Users completed
6.48k done
Stopwatch
Build a stopwatch widget that can measure how much time has passed
User interface coding
UI coding
Difficulty
Medium
Available frameworks
Users completed
2.49k done
Like Button
Build a Like button that changes appearance based on its state
User interface coding
UI coding
Difficulty
Medium
Available frameworks
Users completed
3.95k done
Image Carousel
Build an image carousel that displays a sequence of images
User interface coding
UI coding
Difficulty
Medium
Available frameworks
Users completed
3.07k done
Image Carousel II
Premium
Build an image carousel that smoothly transitions between images
User interface coding
UI coding
Difficulty
Medium
Available frameworks
Users completed
518 done
Image Carousel III
Premium
Build an image carousel that smoothly transitions between images and has a minimal DOM footprint
User interface coding
UI coding
Difficulty
Hard
Available frameworks
Users completed
219 done
Traffic Light
Build a traffic light where the lights switch from green to yellow to red after predetermined intervals and loop indefinitely
User interface coding
UI coding
Difficulty
Medium
Available frameworks
Users completed
5.08k done
Digital Clock
Build a 7-segment digital clock that shows the current time
User interface coding
UI coding
Difficulty
Medium
Available frameworks
Users completed
3.22k done
File Explorer
Build a file explorer component to navigate files and directories in a tree-like hierarchical viewer
User interface coding
UI coding
Difficulty
Medium
Available frameworks
Users completed
3.56k done
Tic-tac-toe
Build a tic-tac-toe game that is playable by two players
User interface coding
UI coding
Difficulty
Medium
Available frameworks
Users completed
2.87k done
Tic-tac-toe II
Premium
Build an N x N tic-tac-toe game that requires M consecutive marks to win
User interface coding
UI coding
Difficulty
Hard
Available frameworks
Users completed
428 done
Transfer List
Build a component that allows transferring items between two lists
User interface coding
UI coding
Difficulty
Medium
Available frameworks
Users completed
2.27k done
Transfer List II
Premium
Build a component that allows transferring items between two lists, bulk selection/unselection of items, and adding new items
User interface coding
UI coding
Difficulty
Hard
Available frameworks
Users completed
356 done
Nested Checkboxes
Build a nested checkboxes component with parent-child selection logic
User interface coding
UI coding
Difficulty
Hard
Available frameworks
Users completed
873 done
Modal Dialog
Build a reusable modal dialog component that can be opened and closed
User interface coding
UI coding
Difficulty
Medium
Available frameworks
Users completed
2.99k done
Modal Dialog II
Premium
Build a semi-accessible modal dialog component that has the right ARIA roles, states, and properties
User interface coding
UI coding
Difficulty
Medium
Available frameworks
Users completed
522 done
Modal Dialog III
Premium
Build a moderately-accessible modal dialog component that supports common ways to close the dialog
User interface coding
UI coding
Difficulty
Medium
Available frameworks
Users completed
493 done
Modal Dialog IV
Premium
Build a fully-accessible modal dialog component that supports all required keyboard interactions
User interface coding
UI coding
Difficulty
Hard
Available frameworks
Users completed
213 done
Data Table
Build a users data table with pagination features
User interface coding
UI coding
Difficulty
Medium
Available frameworks
Users completed
4.38k done
Data Table II
Premium
Build a users data table with sorting features
User interface coding
UI coding
Difficulty
Medium
Available frameworks
Users completed
1.19k done
Data Table III
Premium
Build a generalized data table with pagination and sorting features
User interface coding
UI coding
Difficulty
Hard
Available frameworks
Users completed
328 done
Undoable Counter
Premium
Build a counter with a history of the values and ability to undo/redo actions
User interface coding
UI coding
Difficulty
Medium
Available frameworks
Users completed
1.06k done
Connect Four
Premium
Build a game for two players who take turns to drop colored discs from the top into a vertically suspended board/grid
User interface coding
UI coding
Difficulty
Medium
Available frameworks
Users completed
282 done
Users Database
Premium
Build a UI to filter, create, update, and delete users
User interface coding
UI coding
Difficulty
Medium
Available frameworks
Users completed
539 done
Whack-A-Mole
Premium
Build a popular arcade game where players attempt to hit moles as they pop up from holes in a board.
User interface coding
UI coding
Difficulty
Medium
Available frameworks
Users completed
451 done
Memory Game
Premium
Build a memory game where the player needs to match pairs of cards
User interface coding
UI coding
Difficulty
Medium
Available frameworks
Users completed
514 done
Selectable Cells
Premium
Build an interface where users can drag to select multiple cells within a grid
User interface coding
UI coding
Difficulty
Hard
Available frameworks
Users completed
143 done
Wordle
Premium
Build Wordle, the word-guessing game that took the world by storm
User interface coding
UI coding
Difficulty
Hard
Available frameworks
Users completed
245 done
Flight Booker
Premium
Build a component that books a flight for specified dates
User interface coding
UI coding
Difficulty
Easy
Available frameworks
Users completed
3.76k done
Generate Table
Premium
Generate a table of numbers given the rows and columns
User interface coding
UI coding
Difficulty
Easy
Available frameworks
Users completed
3.16k done
Progress Bar
Premium
Build a progress bar component that shows the percentage completion of an operation
User interface coding
UI coding
Difficulty
Easy
Available frameworks
Users completed
4.95k done
Temperature Converter
Premium
Build a temperature converter widget that converts temperature values between Celsius and Fahrenheit
User interface coding
UI coding
Difficulty
Easy
Available frameworks
Users completed
4.05k done
Mortgage Calculator
Build a calculator that computes the monthly mortgage for a loan
User interface coding
UI coding
Difficulty
Easy
Available frameworks
Users completed
4.81k done
Tweet
Premium
Build a component that resembles a Tweet from Twitter
User interface coding
UI coding
Difficulty
Easy
Available frameworks
Users completed
2.49k done
Analog Clock
Premium
Build an analog clock where the hands update and move like a real clock
User interface coding
UI coding
Difficulty
Medium
Available frameworks
Users completed
1.11k done
Dice Roller
Build a dice roller app that simulates the results of rolling 6-sided dice
User interface coding
UI coding
Difficulty
Medium
Available frameworks
Users completed
1.82k done
File Explorer II
Premium
Build a semi-accessible file explorer component that has the right ARIA roles, states, and properties
User interface coding
UI coding
Difficulty
Medium
Available frameworks
Users completed
539 done
File Explorer III
Premium
Build a file explorer component using a flat DOM structure
User interface coding
UI coding
Difficulty
Medium
Available frameworks
Users completed
491 done
Grid Lights
Premium
Build a grid of lights where the lights deactivate in the reverse order they were activated
User interface coding
UI coding
Difficulty
Medium
Available frameworks
Users completed
1.76k done
Progress Bars II
Premium
Build a list of progress bars that fill up gradually in sequence, one at a time
User interface coding
UI coding
Difficulty
Medium
Available frameworks
Users completed
1.19k done
Progress Bars III
Premium
Build a list of progress bars that fill up gradually concurrently, up to a limit of 3
User interface coding
UI coding
Difficulty
Medium
Available frameworks
Users completed
835 done
Birth Year Histogram
Premium
Build a widget that fetches birth year data from an API and plot it on a histogram
User interface coding
UI coding
Difficulty
Medium
Available frameworks
Users completed
327 done
Pixel Art
Premium
Build a pixel art drawing tool where users can paint pixels with selected colors
User interface coding
UI coding
Difficulty
Medium
Available frameworks
Users completed
283 done
Signup Form
Premium
Build a signup form that does validation on user details and submits to a back end API
User interface coding
UI coding
Difficulty
Medium
Available frameworks
Users completed
1.53k done
Auth Code Input
Premium
Build an auth code input component that allows users to enter a 6-digit authorization code
User interface coding
UI coding
Difficulty
Hard
Available frameworks
Users completed
422 done
Progress Bars IV
Premium
Build a list of progress bars that fill up gradually and concurrently, up to a limit of 3, and allow for pausing and resuming
User interface coding
UI coding
Difficulty
Hard
Available frameworks
Users completed
435 done
Data Table IV
Premium
Build a generalized data table with pagination, sorting and filtering features
User interface coding
UI coding
Difficulty
Hard
Available frameworks
Users completed
199 done