Comprehensive front-end interview guide Mega Thread ๐Ÿงต Original blog : codewithsimran.substack.com


๐Ÿ’ฅ Machine coding round ๐Ÿ’ฅ 1. Design a pop over (Background should be blur/darker) [youtube.com/watch?v=XH5OW4โ€ฆ] 2. Design an accordion [youtube.com/watch?v=dr8Emhโ€ฆ]

codeWithSimran's tweet card. Accordion (HTML, CSS and JavaScript)

youtube.com

YouTube

Accordion (HTML, CSS and JavaScript)


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


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.