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
44.3k 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.7k 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.64k 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
24.2k 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.8k 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.08k 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
708 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.7k 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.51k 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
865 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
19.1k 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.71k 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.55k 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.53k 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
4k 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.12k 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
526 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
225 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.13k 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.26k 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.6k 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.9k 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
432 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.3k 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
360 done
Nested Checkboxes
Build a nested checkboxes component with parent-child selection logic
User interface coding
UI coding
Difficulty
Hard
Available frameworks
Users completed
879 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
3.02k 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
527 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
497 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
215 done
Data Table
Build a users data table with pagination features
User interface coding
UI coding
Difficulty
Medium
Available frameworks
Users completed
4.41k 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.2k 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
338 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.08k 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
289 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
548 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
457 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
517 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
144 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
248 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.17k 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.96k 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.07k 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.83k done
Tweet
Premium
Build a component that resembles a Tweet from Twitter
User interface coding
UI coding
Difficulty
Easy
Available frameworks
Users completed
2.51k 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.12k 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.83k 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
542 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
498 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.77k 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.2k 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
840 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
331 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
287 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.54k 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
432 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
441 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
201 done