Interviews
开始使用
准备
准备
新
与我们合作推广 ->
价格
登录 / 注册
获得完整访问权限
新
与我们合作推广 ->
价格
登录 / 注册
获得完整访问权限
JavaScript
React
Angular
Vue
Svelte
CSS
HTML
TypeScript
Vanilla JS 面试问题
20 个最重要的 JavaScript 面试问题,从库 API 和实用函数到算法和 UI 组件。
由前面试官解答
测试场景
在浏览器中编码
搜索问题
按排序
问题数量
2
1
21
个问题
总时间
7
7
小时总计
题目列表
原生 JS 面试指南
探索我们的入门指南,在开始练习之前先全面了解 原生 JS 面试准备。
0
/3 指南
指南
Counter
热身问题
Build a simple counter that increments whenever a button is clicked
用户界面编码
UI 编码
难度
简单
可用的框架
已完成用户
32.3k 完成
Accordion
Build an accordion component that a displays a list of vertically stacked sections with each containing a title and content snippet
用户界面编码
UI 编码
难度
简单
可用的框架
已完成用户
7.4k 完成
Contact Form
Build a contact form which submits user feedback and contact details to a back end API
用户界面编码
UI 编码
难度
简单
可用的框架
已完成用户
17.7k 完成
Holy Grail
Build the famous holy grail layout consisting of a header, 3 columns, and a footer
用户界面编码
UI 编码
难度
简单
可用的框架
已完成用户
14k 完成
Mortgage Calculator
Build a calculator that computes the monthly mortgage for a loan
用户界面编码
UI 编码
难度
简单
可用的框架
已完成用户
3.75k 完成
Tabs
Build a tabs component that displays a list of tab elements and one associated panel of content at a time
用户界面编码
UI 编码
难度
中等
可用的框架
已完成用户
7.42k 完成
Like Button
Build a Like button that changes appearance based on the states
用户界面编码
UI 编码
难度
中等
可用的框架
已完成用户
2.3k 完成
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 编码
难度
中等
可用的框架
已完成用户
3.96k 完成
Todo List
Build a Todo list that lets users add new tasks and delete existing tasks
用户界面编码
UI 编码
难度
中等
可用的框架
已完成用户
9.05k 完成
Traffic Light
Build a traffic light where the lights switch from green to yellow to red after predetermined intervals and loop indefinitely
用户界面编码
UI 编码
难度
中等
可用的框架
已完成用户
3.51k 完成
Digital Clock
Build a 7-segment digital clock that shows the current time
用户界面编码
UI 编码
难度
中等
可用的框架
已完成用户
2.2k 完成
Job Board
Build a job board that displays the latest job postings from Hacker News
用户界面编码
UI 编码
难度
中等
可用的框架
已完成用户
3.35k 完成
Stopwatch
Build a stopwatch widget that can measure how much time has passed
用户界面编码
UI 编码
难度
中等
可用的框架
已完成用户
1.27k 完成
Generate Table
高级
Generate a table of numbers given the rows and columns
用户界面编码
UI 编码
难度
简单
可用的框架
已完成用户
2.4k 完成
Progress Bar
高级
Build a progress bar component that shows the percentage completion of an operation
用户界面编码
UI 编码
难度
简单
可用的框架
已完成用户
3.81k 完成
Temperature Converter
高级
Build a temperature converter widget that converts temperature values between Celsius and Fahrenheit
用户界面编码
UI 编码
难度
简单
可用的框架
已完成用户
3.14k 完成
Tweet
高级
Build a component that resembles a Tweet from Twitter
用户界面编码
UI 编码
难度
简单
可用的框架
已完成用户
1.89k 完成
Accordion II
高级
Build an accessible accordion component that has the right ARIA roles, states, and properties
用户界面编码
UI 编码
难度
中等
可用的框架
已完成用户
1.09k 完成
Analog Clock
高级
Build an analog clock where the hands update and move like a real clock
用户界面编码
UI 编码
难度
中等
可用的框架
已完成用户
810 完成
Tabs II
高级
Build a semi-accessible tabs component that has the right ARIA roles, states, and properties
用户界面编码
UI 编码
难度
中等
可用的框架
已完成用户
648 完成
Signup Form
高级
Build a signup form that does validation on user details and submits to a back end API
用户界面编码
UI 编码
难度
中等
可用的框架
已完成用户
1.08k 完成