FE interview questions
interview questions
Things covered:
Javascript
HTML & CSS
Unit testing
Design patterns
Machine coding round
Framework level questions (**)
Topics
Promises
Promise.All, Promise.AllSettled.
Promise chaining
Where can you use await keyword
Promises with SetTimeouts.
Closures & scopes
Outputs of code snippet
Focussing on which scope will be used in different use cases.
Trying to access a variable and analyzing the output.
Polyfills
Promise AllSettled
bind(), apply()
Caching
- Ways to improve your page performance, caching images, css files etc.
Web performance (layouting, painting)
Image optimisations
HTML parsing (e2e)
Loading javascript, considering the entire page load time.
Event loop
Working of an event loop, for example, taking some code snippet and dry running it.
How does an event loop resolve the priority among multiple things available to be put on the JS callstack?
Prototypes
Prototype chaining
Mocking inheritance in javascript
Debugging techniques
HTML layouting and css techniques