Keyboard interview questions
Practice 16 questions on keyboard. Each runs in a real in-browser editor with Jest tests and a worked, diagram-backed solution.
16 questions
- UI / FrameworksUI challenge4 variants
Combobox
MEDIUMBuild an editable combobox that filters options as you type and supports full keyboard selection.
25 minPremium questionPractice - UI / FrameworksUI challenge4 variants
Command Palette
MEDIUMBuild a keyboard-driven command palette with fuzzy search and arrow-key navigation.
25 minPremium questionPractice - UI / FrameworksUI challenge4 variants
Dropdown Menu
MEDIUMBuild an accessible action menu with keyboard focus, selection, Escape, and outside-click dismissal.
25 minPractice - UI / FrameworksUI challenge4 variants
File Explorer II
MEDIUMBuild a file explorer that exposes the correct ARIA tree roles, states, and properties for assistive tech.
25 minAmazon · Atlassian · Snap +1Practice - UI / FrameworksUI challenge4 variants
Modal Dialog III
MEDIUMBuild a modal dialog that closes via the close button, backdrop click, and the Escape key.
25 minPremium questionAmazon · TikTokPractice - UI / FrameworksUI challenge4 variants
OTP Input
MEDIUMBuild a one-time-code input of separate boxes with auto-advance, backspace, and paste handling.
25 minPractice - UI / FrameworksUI challenge4 variants
Snake Game
MEDIUMBuild the classic snake game on a grid with keyboard control, growth on eating, and game over.
25 minPractice - JavaScriptCoding exercise
useHotkeys
MEDIUMImplement a hook that binds a shortcut like ctrl+k, matching modifiers exactly and ignoring typing in inputs.
25 minPractice - JavaScriptCoding exercise
useKeyPress
MEDIUMImplement a hook that returns whether a given key is currently being pressed on the keyboard.
25 minPractice - UI / FrameworksUI challenge4 variants
Accordion III
HARDBuild a fully accessible accordion with keyboard navigation per the ARIA authoring practices guide.
40 minAmazonPractice - UI / FrameworksUI challenge4 variants
Auth Code Input
HARDBuild a six-cell auth code input that handles typing, paste, backspace, and arrow-key navigation across fields.
40 minPremium questionApplePractice - UI / FrameworksUI challenge4 variants
Autocomplete III
HARDBuild a production autocomplete with async fetch, debounce, keyboard navigation, caching, and match highlighting.
40 minPremium questionPractice - UI / FrameworksUI challenge4 variants
Modal Dialog IV
HARDBuild a fully accessible modal dialog with focus trapping, focus restoration, and keyboard support.
40 minPremium questionAmazon · TikTokPractice - UI / FrameworksUI challenge4 variants
Tabs III
HARDBuild a fully accessible tabs component with arrow-key navigation per the ARIA authoring guide.
40 minAirbnb · AmazonPractice - UI / FrameworksUI challenge4 variants
Tetris
HARDBuild Tetris with falling tetrominoes, rotation, line clears, and scoring.
40 minPremium questionPractice - UI / FrameworksUI challenge4 variants
Wordle
HARDBuild the Wordle word-guessing game with row-by-row guesses and per-letter color feedback.
40 minRamp · TekionPractice