Machine coding round
Polyfills, event systems, debounce, deep clone and DOM problems asked in frontend rounds. Write it in vanilla JavaScript, run it, then compare with a clean solution.
Todo List App
Build a todo list application using vanilla JavaScript. Include add, delete, edit, and mark complete functionality with localStorage persistence.
Holy Grail Layout
Create a responsive holy grail layout (header, footer, sidebar, main content) using CSS Grid or Flexbox.
Tabs
Build a tabs component using vanilla JavaScript with smooth transitions and keyboard navigation.
Accordion
Create an accordion component that expands and collapses sections. Support single or multiple open items.
Pagination - Vanilla JS
Build a pagination component with page numbers, previous/next buttons, and ellipsis for large page counts.
Debounce Function
Implement a debounce function that delays function execution until after a specified time has passed.
Throttle Function
Create a throttle function that limits function execution to at most once per specified time period.
Deep Clone Function
Implement a deep clone function that creates a complete copy of nested objects and arrays.
Event Emitter
Build an EventEmitter class that supports subscribing to events, emitting events, and unsubscribing.
Promise Implementation
Implement a Promise class from scratch with then, catch, and finally methods.
Array Methods Polyfill
Implement polyfills for map, filter, reduce, forEach, and find array methods.
Bind Function Implementation
Implement Function.prototype.bind() from scratch with support for partial application.