A collection of concepts, problems, and interview questions to help you prepare for frontend development roles.
Covers: JavaScript · TypeScript · ReactJS · React Native · HTML · CSS
- Implement a curry function
- Implement a curry function with a placeholder ⭐
- Implement a function which flattens an array upto given depth
- Implement a debounce function
- Implement a throttle function ⭐
- Implement a pipe function, which chains multiple functions together to create a new function
- Implement an exclude items function, which accepts a list of items and a list of filter properties based upon which we need to remove the corresponding entries from the list of items
- Implement a shuffle function, which should modify the array inline to generate a randomly picked permutation at the same probability
- Implement a decode function
- Implement a first bad version function
- Implement a memo function
- Implement a queue using stack(s)
- Implement an immutability helper function ⭐
- Implement a DOM node store
- Find corresponding node in two identical DOM trees ⭐
- Implement an event emitter
- Implement a simple DOM wrapper, to support method chaining like jQuery
- Implement a function to detect type of argument
- Implement a debounce function with options ⭐
- Implement a throttle function with options ⭐
- Implement a function to reorder array
- Implement a sum function ⭐
- Implement a clearAllTimeout function
- Implement a Promise race function
- Implement a Promise all function
- Implement a Promise any function
- Implement a Promise all settled function
- Implement your own Promise ⭐
- Implement a promise retry function
- Create a counter app
- Implement a useTimeout custom hook
- Implement a useIsFirstRender custom hook
- Implement a usePrevious custom hook
- Implement a useHover custom hook ⭐
- Implement a useToggle custom hook
- Implement a useEffectOnce custom hook
- Implement a useDebounceValue custom hook
- Implement a useMounted custom hook
- Implement a useArray custom hook
- Implement a useSWR custom hook
- Implement a useFocus custom hook
- Create a phone number input app ⭐
- Create a counter app with useCounter hook
- Create a todo app with filters and local storage
- Create an FAQs accordion list
- Create a product search box with debouncing
- Create a form with validation
- Create an infinite scrolling list and redux ⭐
- Create a folder structure
- Create a modal using portal
- Implement a useClickOutside custom hook