Comprehensive front-end interview guide Mega Thread 🧵 Original blog : codewithsimran.substack.com


3. Design a Carousel 👉 It should stop moving/pause on hover 👉 Resume on mouse out 👉 It should be automatically moving 👉 Should have next and previous button for manual options


4. Make a to-do list 👉 It should support add, delete, edit. 👉 Save the to-do to local storage and maintain the previous state on page refresh. 5. A list in JavaScript that supports the following 👉 Pagination [medium.com/geekculture/bu…] 👉 Sort / filter / search

medium.com

Building a JavaScript Pagination As Simple as Possible

Recently I’ve been working on a side project and I wanted to build a JavaScript pagination system for certain items on a page. What I…


9. Create an analog clock [youtube.com/watch?v=9DxdE_…] 10. Implement a poll widget 11. Implement folder / files structure ( trending , must do ) 👉 Each folder can be expanded/collapsed 👉 Each folder can have either files/sub folders Can also be asked as a nested comments problem

codeWithSimran's tweet card. I Created an Analog Clock Using Pure HTML, CSS and JavaScript

youtube.com

YouTube

I Created an Analog Clock Using Pure HTML, CSS and JavaScript


12. Design an app like Jira (Atlassian) 👉 Should be able to move cards between different states like to-do, in progress, dev complete


15. Polyfill for flat method 👉 Infinite depth flatten and flatten by a certain number 👉 Implement both recursive and iterative approaches 16. Currying


17. Given an object make the keys as values and values as keys. Definitely have to handle duplicates and make an assumption that it's values are only String (Src. leetcode) 18. Implement observable ( not very common , good to have )


19. Promises 👉 Polyfill for promises [levelup.gitconnected.com/learn-javascri…] 👉 Polyfill for Promise.all [jsvault.com/promise-all] 20. Implement curry [bigfrontend.dev/problem/implem…] 21. Spread, rest, destructuring 22. Implement setInterval using setTimeout


30. Implement performance bottleneck (Hard, for senior JavaScript devs) 👉 Your website makes 1000s of calls on initial page load and you need to optimise this by limiting the active calls to 10 at a time. 👉 Use promises, everytime a promise resolves you can send a new request


💥 Web performance 💥 1. Critical rendering path (must watch) [udacity.com/course/website…] 2. Caching 👉 HTTP requests: Headers like Cache-Control, ETag, and Transfer-Encoding [youtube.com/watch?v=HiBDZg…] 3. Network waterfall 4. Bundle size optimisation ( good to have webpack basics)


5. Async, defer script attributes [youtube.com/watch?v=IrHmpd…] 6. preconnect, preload, prefetch [youtube.com/watch?v=5s7tQj…] 7. Image optimization (jpeg v/s png v/s svg)


💥 Web security 💥 1. XSS ( understand why we need cookies ) 2. CSRF 3. Content security policy


💥 React 💥 1. Virtual DOM 2. How does React state (usestate) work internally [dev.to/rembrandtreyes…] 3. How does useEffect work internally 4. Optimization hooks 👉 useMemo 👉 useCallback 👉 How is React.memo different from useMemo ( two very different things )


5. useReducer, useContext hook 6. react-redux vs context API vs passing props


💥 Data structures and algorithms 💥 This is a vast topic and hard to predict for an interview. Practise is key here. For problems by different patterns, go through seanprashad.com/leetcode-patte… Make sure to go through hackernoon.com/14-patterns-to… understand the different patterns.


💥 Design round 💥 1. Design snake and ladder 2. Design chess 3. Design parking lot 4. Design lift system 5. Design patterns


United States Тренды
Loading...

Something went wrong.


Something went wrong.