Resource · Guide or article
User Interface Interview Questions (Machine Coding) in Front End Interviews
Explains the user interface coding round, where candidates build a component, widget, app or game with HTML, CSS and JavaScript, and gives a checklist of what to consider while building it.
Reviewed
Open the original: User Interface Interview Questions (Machine Coding) in Front End Interviews (opens the original site in a new tab)Add to a roadmap
Keep this resource with a roadmap you follow. It appears as your own extra resource; the roadmap's steps don't change and it doesn't count toward your tracked steps.
Source content: English
Many Front End Engineers spend a lot of time building UI, and building a UI component is a good way to assess someone's familiarity in the three biggest aspects of front end — HTML, JavaScript, CSS.
PrepKit overview
PrepKit editors wrote and reviewed this overview from the source repository. It is not text from the resource itself.
- Suited to
- The source does not state a level
- Format
- Guide
What it covers
- Describes four coding setups: online editor with preview, editor without preview, bring your own environment, and whiteboard
- Lists example builds grouped as components (tabs, modal, accordion), widgets (stopwatch, traffic light), apps (todo list, data table) and games
- Covers front end hygiene: avoiding globals and keeping multiple component instances independent
- Performance and network prompts: slow networks, long strings, empty states, virtual lists, race conditions, caching and lazy loading
- User experience, i18n, RTL and accessibility basics, plus XSS risks when rendering user input
How to use it
PrepKit study advice, not a claim made by the source.
Build one listed component, such as tabs or an accordion, in plain HTML, CSS and JavaScript within a time limit. Then go through the Considerations checklist and fix what fails: two instances on one page, keyboard focus, empty state, escaped user text. Repeat until the list passes on the first try.
Scope and limitations
The Where to practice section and most example links send readers to GreatFrontEnd with referral tracking; several items are marked Free and others are not. Some remarks about which companies use whiteboards are the page's claims and unverified. No solutions are included.
Access and format
Web page on frontendinterviewhandbook.com, free to read, in English. The text comes from the MIT-licensed front-end-interview-handbook repository.
Reviewed by PrepKit on Oct 2, 2026. Listing source commit: 8e867581255f
Evidence behind this overview
- website/contents/build-front-end-user-interfaces.md
Pages that include this
Get the PrepKit newsletter
Optional. You don't need it to use PrepKit.