1 Week Plan
Interview in a week? The essentials, day by day.
A compressed plan for when the interview is close. Each day mixes one theme of coding with the concepts behind it, and the last two days go to system design and stories. Skim the playbooks first, then do these in order.
0 / 38 completed
Day 1: JavaScript fundamentals
0/6
1.What is the event loop? Explain the difference between the macrotask and microtask queues.
How JavaScript schedules callbacks, promises and rendering on a single thread.
2.What is a closure, and how/why would you use one?
A closure is the combination of a function and the lexical environment within which that function was declared. The word "lexical" refers to the fact that lexic
3.Explain how this works in JavaScript
There's no simple explanation for this; it is one of the most confusing concepts in JavaScript. A hand-wavey explanation is that the value of this depends on ho
4.Debounce
Delay invoking a function until a burst of calls has stopped for a given wait time.
5.Throttle
Limit a function to at most one call per wait window, with leading and trailing calls.
Day 2: Async JavaScript
0/6
1.What are Promises and how do they work?
Promise objects, chaining, error propagation, microtask scheduling and Promise.withResolvers.
2.What is async/await and how does it simplify asynchronous code?
Syntax over promises: sequential vs parallel awaits, error handling, top-level await and pitfalls.
3.Promise.all
Implement Promise.all: resolve with every result in order, or reject on the first failure.
4.Promise.any
Implement Promise.any: fulfill with the first success, or reject with an AggregateError.
5.Promisify
Convert a Node-style callback function into one that returns a promise.
Day 3: Utilities & DOM
0/6
1.Deep Clone
Make a deep copy of a JSON-like value so that no nested object or array is shared with the original.
2.Flatten
Flatten a nested array to a given depth, recursively or with an explicit stack.
3.classnames
Build a CSS class string from strings, numbers, nested arrays and conditional objects.
4.getElementsByClassName
Find every descendant element that has all of the given class names by walking the DOM tree yourself.
Day 4: React fundamentals
0/6
1.What is reconciliation in React?
How React decides which instances to keep, update or remount, based on type, position and key.
2.What is the difference between `useEffect` and `useLayoutEffect` in React?
Effect timing relative to paint, and when blocking paint is worth it.
3.What is the purpose of the `key` prop in React?
Keys give list items stable identity for reconciliation and state.
4.What is the difference between controlled and uncontrolled React components?
Who owns the value, React state or the DOM, and the trade-offs of each.
Day 5: React components
0/5
1.Accordion
Build an accessible accordion with expandable sections and full keyboard support.
2.Star Rating
Build a star rating input with hover preview, keyboard support and a clear button, built on native radios.
Day 6: System design
0/4
1.News Feed (e.g. Facebook)
Design an infinitely scrolling, personalised social feed with posts, reactions, comments and live updates.
2.Autocomplete / Typeahead Component
Design a reusable, accessible autocomplete component with debounced search, caching, race handling and keyboard navigation.
Day 7: Leadership stories
0/5
1.Tell me about yourself (lead edition)
A two-minute career pitch that frames you as a front-end lead: scope, impact, how you lead and why this role is the next step.
2.Tell me about a project you led end to end
Walk through a front-end initiative you owned from problem framing to measured outcome, showing scope, trade-offs and how you led people.
3.Influencing without authority
Show how you got other teams to adopt a front-end change you could not mandate, using evidence, low-friction paths and allies.