Interviews
开始使用
准备
准备
New questions added in 7月 2026 ->
价格
登录 / 注册
获得完整访问权限
New questions added in 7月 2026 ->
价格
登录 / 注册
获得完整访问权限
用户界面编码
JavaScript 函数
系统设计
测验
算法编码
用户界面编码问题
使用 HTML、CSS、JavaScript 或流行的 UI 框架(如 React、Angular 或 Vue)构建动态用户界面。
在浏览器中编码
前面试官提供的问答和解答
测试场景
搜索问题
按排序
问题数量
5
9
59
个问题
总时间
2
5
25
小时总计
题目列表
用户界面编码指南
在开始练习之前,获得对必备技巧的内部概述,以有效地进行准备。
0
/3 指南
指南
Counter
热身问题
Build a simple counter that increments whenever a button is clicked
用户界面编码
UI 编码
难度
简单
可用的框架
已完成用户
45.8k 完成
Todo List
Build a Todo list that lets users add new tasks and delete existing tasks
用户界面编码
UI 编码
难度
中等
可用的框架
已完成用户
17.1k 完成
Job Board
高级
Build a job board that displays the latest job postings from Hacker News
用户界面编码
UI 编码
难度
中等
可用的框架
已完成用户
7.27k 完成
Contact Form
Build a contact form which submits user feedback and contact details to a back end API
用户界面编码
UI 编码
难度
简单
可用的框架
已完成用户
25k 完成
Tabs
Build a tabs component that displays a list of tab elements and one associated panel of content at a time
用户界面编码
UI 编码
难度
中等
可用的框架
已完成用户
12.5k 完成
Tabs II
高级
Build a semi-accessible tabs component that has the right ARIA roles, states, and properties
用户界面编码
UI 编码
难度
中等
可用的框架
已完成用户
1.2k 完成
Tabs III
高级
Build a fully accessible tabs component that has keyboard support according to ARIA specifications
用户界面编码
UI 编码
难度
中等
可用的框架
已完成用户
765 完成
Accordion
Build an accordion component that displays a list of vertically stacked sections with each containing a title and content snippet
用户界面编码
UI 编码
难度
简单
可用的框架
已完成用户
13.2k 完成
Accordion II
高级
Build an accessible accordion component that has the appropriate ARIA roles, states, and properties
用户界面编码
UI 编码
难度
中等
可用的框架
已完成用户
1.56k 完成
Accordion III
高级
Build a fully accessible accordion component that has keyboard support according to ARIA specifications
用户界面编码
UI 编码
难度
中等
可用的框架
已完成用户
907 完成
Holy Grail
Build the famous holy grail layout consisting of a header, 3 columns, and a footer
用户界面编码
UI 编码
难度
简单
可用的框架
已完成用户
19.7k 完成
Progress Bars
Build a list of progress bars that fill up gradually when they are added to the page
用户界面编码
UI 编码
难度
简单
可用的框架
已完成用户
7.04k 完成
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
用户界面编码
UI 编码
难度
中等
可用的框架
已完成用户
6.94k 完成
Stopwatch
Build a stopwatch widget that can measure how much time has passed
用户界面编码
UI 编码
难度
中等
可用的框架
已完成用户
2.76k 完成
Like Button
Build a Like button that changes appearance based on its state
用户界面编码
UI 编码
难度
中等
可用的框架
已完成用户
4.22k 完成
Image Carousel
Build an image carousel that displays a sequence of images
用户界面编码
UI 编码
难度
中等
可用的框架
已完成用户
3.36k 完成
Image Carousel II
高级
Build an image carousel that smoothly transitions between images
用户界面编码
UI 编码
难度
中等
可用的框架
已完成用户
564 完成
Image Carousel III
高级
Build an image carousel that smoothly transitions between images and has a minimal DOM footprint
用户界面编码
UI 编码
难度
困难
可用的框架
已完成用户
250 完成
Traffic Light
Build a traffic light where the lights switch from green to yellow to red after predetermined intervals and loop indefinitely
用户界面编码
UI 编码
难度
中等
可用的框架
已完成用户
5.38k 完成
Digital Clock
Build a 7-segment digital clock that shows the current time
用户界面编码
UI 编码
难度
中等
可用的框架
已完成用户
3.4k 完成
File Explorer
高级
Build a file explorer component to navigate files and directories in a tree-like hierarchical viewer
用户界面编码
UI 编码
难度
中等
可用的框架
已完成用户
3.79k 完成
Tic-tac-toe
Build a tic-tac-toe game that is playable by two players
用户界面编码
UI 编码
难度
中等
可用的框架
已完成用户
3.08k 完成
Tic-tac-toe II
高级
Build an N x N tic-tac-toe game that requires M consecutive marks to win
用户界面编码
UI 编码
难度
困难
可用的框架
已完成用户
451 完成
Transfer List
Build a component that allows transferring items between two lists
用户界面编码
UI 编码
难度
中等
可用的框架
已完成用户
2.46k 完成
Transfer List II
高级
Build a component that allows transferring items between two lists, bulk selection/deselection of items, and adding new items
用户界面编码
UI 编码
难度
困难
可用的框架
已完成用户
392 完成
Nested Checkboxes
高级
Build a nested checkboxes component with parent-child selection logic
用户界面编码
UI 编码
难度
困难
可用的框架
已完成用户
950 完成
Modal Dialog
高级
Build a reusable modal dialog component that can be opened and closed
用户界面编码
UI 编码
难度
中等
可用的框架
已完成用户
3.16k 完成
Modal Dialog II
高级
Build a semi-accessible modal dialog component that has the right ARIA roles, states, and properties
用户界面编码
UI 编码
难度
中等
可用的框架
已完成用户
561 完成
Modal Dialog III
高级
Build a moderately accessible modal dialog component that supports common ways to close the dialog
用户界面编码
UI 编码
难度
中等
可用的框架
已完成用户
524 完成
Modal Dialog IV
高级
Build a fully accessible modal dialog component that supports all required keyboard interactions
用户界面编码
UI 编码
难度
困难
可用的框架
已完成用户
240 完成
Data Table
Build a user data table with pagination features
用户界面编码
UI 编码
难度
中等
可用的框架
已完成用户
4.66k 完成
Data Table II
高级
Build a user data table with sorting features
用户界面编码
UI 编码
难度
中等
可用的框架
已完成用户
1.28k 完成
Data Table III
高级
Build a generalized data table with pagination and sorting features
用户界面编码
UI 编码
难度
困难
可用的框架
已完成用户
371 完成
Undoable Counter
高级
Build a counter with a history of the values and ability to undo/redo actions
用户界面编码
UI 编码
难度
中等
可用的框架
已完成用户
1.14k 完成
Connect Four
高级
Build a game for two players who take turns to drop colored discs from the top into a vertically suspended board/grid
用户界面编码
UI 编码
难度
中等
可用的框架
已完成用户
317 完成
Users Database
高级
Build a UI to filter, create, update, and delete users
用户界面编码
UI 编码
难度
中等
可用的框架
已完成用户
600 完成
Whack-A-Mole
高级
Build a popular arcade game where players attempt to hit moles as they pop up from holes in a board.
用户界面编码
UI 编码
难度
中等
可用的框架
已完成用户
475 完成
Memory Game
高级
Build a memory game where the player needs to match pairs of cards
用户界面编码
UI 编码
难度
中等
可用的框架
已完成用户
545 完成
Selectable Cells
高级
Build an interface where users can drag to select multiple cells within a grid
用户界面编码
UI 编码
难度
困难
可用的框架
已完成用户
156 完成
Wordle
高级
Build Wordle, the word-guessing game that took the world by storm
用户界面编码
UI 编码
难度
困难
可用的框架
已完成用户
264 完成
Flight Booker
高级
Build a component that books a flight for specified dates
用户界面编码
UI 编码
难度
简单
可用的框架
已完成用户
3.8k 完成
Generate Table
高级
Generate a table of numbers given the rows and columns
用户界面编码
UI 编码
难度
简单
可用的框架
已完成用户
3.2k 完成
Progress Bar
高级
Build a progress bar component that shows the percentage completion of an operation
用户界面编码
UI 编码
难度
简单
可用的框架
已完成用户
5.05k 完成
Temperature Converter
高级
Build a temperature converter widget that converts temperature values between Celsius and Fahrenheit
用户界面编码
UI 编码
难度
简单
可用的框架
已完成用户
4.15k 完成
Mortgage Calculator
Build a calculator that computes the monthly mortgage for a loan
用户界面编码
UI 编码
难度
简单
可用的框架
已完成用户
4.88k 完成
Tweet
高级
Build a component that resembles a Tweet from Twitter
用户界面编码
UI 编码
难度
简单
可用的框架
已完成用户
2.57k 完成
Analog Clock
高级
Build an analog clock where the hands update and move like a real clock
用户界面编码
UI 编码
难度
中等
可用的框架
已完成用户
1.12k 完成
Dice Roller
Build a dice roller app that simulates the results of rolling 6-sided dice
用户界面编码
UI 编码
难度
中等
可用的框架
已完成用户
1.87k 完成
File Explorer II
高级
Build a semi-accessible file explorer component that has the appropriate ARIA roles, states, and properties
用户界面编码
UI 编码
难度
中等
可用的框架
已完成用户
563 完成
File Explorer III
高级
Build a file explorer component using a flat DOM structure
用户界面编码
UI 编码
难度
中等
可用的框架
已完成用户
515 完成
Grid Lights
高级
Build a grid of lights where the lights deactivate in the reverse order they were activated
用户界面编码
UI 编码
难度
中等
可用的框架
已完成用户
1.8k 完成
Progress Bars II
高级
Build a list of progress bars that fill up gradually in sequence, one at a time
用户界面编码
UI 编码
难度
中等
可用的框架
已完成用户
1.23k 完成
Progress Bars III
高级
Build a list of progress bars that fill up gradually concurrently, up to a limit of 3
用户界面编码
UI 编码
难度
中等
可用的框架
已完成用户
867 完成
Birth Year Histogram
高级
Build a widget that fetches birth year data from an API and plot it on a histogram
用户界面编码
UI 编码
难度
中等
可用的框架
已完成用户
342 完成
Pixel Art
高级
Build a pixel art drawing tool where users can paint pixels with selected colors
用户界面编码
UI 编码
难度
中等
可用的框架
已完成用户
301 完成
Signup Form
高级
Build a signup form that validates user details and submits to a backend API
用户界面编码
UI 编码
难度
中等
可用的框架
已完成用户
1.59k 完成
Auth Code Input
高级
Build an auth code input component that allows users to enter a 6-digit authorization code
用户界面编码
UI 编码
难度
困难
可用的框架
已完成用户
463 完成
Progress Bars IV
高级
Build a list of progress bars that fill up gradually and concurrently, up to a limit of 3, and allow for pausing and resuming
用户界面编码
UI 编码
难度
困难
可用的框架
已完成用户
469 完成
Data Table IV
高级
Build a generalized data table with pagination, sorting and filtering features
用户界面编码
UI 编码
难度
困难
可用的框架
已完成用户
228 完成