Machine Coding

Machine Coding Challenges

Browse every challenge in one place. Read the full walkthrough, then jump into the playground to build it yourself.

Showing 16 of 16 challenges
Easy20 min

Skeleton Loader

Build a skeleton loader that shows animated placeholder shapes while a user profile card loads.

ReactCSS AnimationLoading States+1
Read walkthrough
Hard40 min

Live Markdown Editor

Build a split-pane markdown editor with real-time preview. Write your own markdown-to-HTML parser — no libraries.

ReactRegexString Parsing+1
Read walkthrough
Medium40 min

Autocomplete / Typeahead

Build an autocomplete input with debounced API calls, keyboard navigation, and highlighted matching text.

ReactDebounceKeyboard Nav+1
Read walkthrough
Easy45 min

Server-Side Todo App

Build a full-stack todo app with server-side rendering, API routes, and client-side interactivity.

ReactNext.jsCRUD+1
Read walkthrough
Easy30 min

Custom Debounce

Implement a debounce function from scratch and wire it to a search input with an event log.

ReactClosuresTimers
Read walkthrough
Medium45 min

Infinite Scroll

Build an infinite scroll feed using IntersectionObserver with a paginated API.

ReactIntersectionObserverPagination
Read walkthrough
Medium50 min

Multi-Select Dropdown

Create a multi-select dropdown with search, keyboard navigation, and ARIA attributes.

ReactKeyboard NavAccessibility
Read walkthrough
Medium40 min

Image Carousel

Build an image carousel with smooth transitions, auto-play, pause on hover, and keyboard support.

ReactCSS TransformsTimers
Read walkthrough
Easy30 min

Breadcrumb Navigation

Build a file explorer with breadcrumb navigation through a nested folder structure.

ReactTree TraversalNavigation
Read walkthrough
Easy25 min

Countdown Timer

Build a countdown timer with start, pause, and reset controls using refs and intervals.

ReactHooksuseRef+1
Read walkthrough
Medium35 min

Drag & Drop Zone

Create a drag-and-drop file upload zone with visual feedback and file list management.

ReactDrag EventsFile Upload
Read walkthrough
Hard35 min

Highlight Search Component

Build a search component that highlights matching text within a list of items.

ReactSearchText Highlighting
Read walkthrough
Easy25 min

Highlight Search Text

Implement text highlighting that marks matching substrings within a paragraph of text.

ReactRegexString Manipulation
Read walkthrough
Medium40 min

OTP Input

Build a one-time password input with auto-focus, paste support, and keyboard navigation.

ReactRefsKeyboard Events+1
Read walkthrough
Medium40 min

Toast / Notification System

Build a toast notification system with auto-dismiss, stacking, and different severity types.

ReactState ManagementAnimations+1
Read walkthrough
Hard50 min

Virtualized List

Implement a virtualized list that efficiently renders thousands of items by only mounting visible rows.

ReactPerformanceDOM Optimization
Read walkthrough