This repository contains various frontend machine coding tasks used in interviews at top tech companies.
- Form Validation
- Todo App
- Search and Filter List
- Pagination (Large API Data - Client Side)
- Debouncing Search
- Throttle Search
- Sorting Features
- Persistent Counter App (Local Storage)
- Modal Open/Close Features
- Theme Toggle (Dark/Light Mode)
- Autocomplete Search Bar
- Progress Bar
- Move to Top
- Auto-focusing Form and Validation
- Tooltip Hover
- Live Clock
- Accordion
- Click to Clipboard
- Infinite Scroll Bar
- Image Carousel
- Drag and Drop Interaction
- Responsive Navbar
- Multi-Step Form
- OTP (One Time Password)
- React Toast Notifications
- Star Rating
- File Explorer
- Virtualized List
- Tab Components
- Traffic Light
- Like Button
- Calculator
- File Upload Preview
- Avatar Upload and Crop
- Data Table
- Responsive Layout System (Without Framework)
- Accessible Form System
- Multi-Step Form Validation & State Persistence
- Skeleton Loader
- Error Boundaries
- File Upload System (Progress & Retry)
- Toast and Notification Pattern
- Theme Switch (Light and Dark)
- Real-time Collaboration UI
- Role-based UI Rendering
- Complex Dashboard with Data State
- News Feed Infinite Scrolling
- Tab Components
- Chips Input
- Tree Folder Navigation
- Multi-level Comments View
- Kanban Board
- Email Client View (Email template)
- Drag and Drop
- Web Audio Player
- Browser History API
- Implement Custom Hooks
- Auth Guard / Permission-based Routing
- Tic-Tac-Toe (N×N, winner check)
- Nested checkbox tree (tri-state parent)
- Calendar day view with overlapping events
- Date picker / calendar
- Spreadsheet / Excel with formulas
- Job board (Hacker News API, load more)
- Grid lights / selectable cells (drag-select)
- Concurrent progress bars (max 3 at once)
- Multi-select dropdown with search
- Transfer list (move items between 2 lists)
- Stopwatch / countdown / Pomodoro timer
- Image gallery + lightbox / masonry (Pinterest)
- Chat UI (WhatsApp / YouTube live chat)
- Seat booking (BookMyShow / flight)
- E-commerce listing + cart + filters (URL synced)
- Food menu + cart (Swiggy/Zomato)
- Command palette (Cmd+K)
- @mention in textarea
- Rich text / Markdown editor with preview
- Drawing board / whiteboard (canvas) + undo/redo
- Undo/redo for any form
- Range slider (dual thumb)
- Poll / quiz widget
- Typing speed test / Wordle / Snake / Memory game
- Bar chart / histogram without a library
- Nested dropdown / mega menu
- Popover / dropdown positioning (flip on edge)
- Scrollspy / table of contents
- Resizable split panes
- Image comparison slider (before/after)
- Password strength + signup form
- GitHub user search / weather app (API + cache)
- Optimistic UI (like/comment with rollback)
- i18n / language switcher
- Feature-flag driven UI
- Web Worker for heavy computation
- Offline-first / PWA (service worker)
- Custom implementation of the Promise API
- Implement custom reduce()
- Implement Auto-retry promises
- Implement Currying with Placeholders
- Implement lodash _.get()
- Implement Promise.all
- Implement Promise.allSettled
- Implement Auto-retry Promises
- Implement Currying with Placeholders
- Implement Custom Bind
- Implement Custom SetInterval
- Implement Debounce
- Implement Deep Flatten
- Implement promises.finally
- Implement throttle
- Implement custom promises
- Promise Polyfills
- Rate Limiting
- Custom JSON Utilities
- Debounce
- Event Emitter
- Performance: Implement caching mechanism
- Timer Management
- Virtual DOM
- Implement currying
- Implement deep clone
- Implement throttling
- Password Generator