Interview Prep
š” Prep Tips
ā Focus on browser APIs
ā Know your CSS layout models
ā Master async JS
Interview Preparation Journey
How does HTTP/2 improve performance compared to HTTP/1.1?
What causes layout shifts and how do you prevent them?
How do you optimize a website for mobile performance?
What is the difference between async and defer in script tags?
How does the browser handle CORS?
What is the difference between localStorage and sessionStorage?
How do you optimize images for the web?
What is the Critical Rendering Path?
How do you handle browser compatibility issues?
What is the difference between cookies and localStorage?
How do you implement code splitting in a React application?
What is the difference between SSR and CSR?
How do you optimize bundle size in a JavaScript application?
What is the difference between let, const, and var?
How do you handle state management in a large React application?
What is the event loop in JavaScript?
Scenario: Your website's Lighthouse performance score dropped from 90 to 40. How would you diagnose and fix it?
Scenario: Your website has a high Cumulative Layout Shift (CLS) score. How would you fix it?
Scenario: Your website receives a sudden traffic spike from a viral social media post. How do you ensure it stays online?
Scenario: You need to optimize a website that has 50+ third-party scripts. How would you approach this?
Scenario: Your website loads slowly on mobile devices but fast on desktop. How would you diagnose and fix this?
Scenario: Your React app is experiencing memory leaks. How would you identify and fix them?
Scenario: Your website has poor SEO. How would you improve it?
Scenario: Your website needs to work offline. How would you implement this?
Scenario: Your website has accessibility issues. How would you fix them?
Scenario: Your website needs to support multiple languages. How would you implement internationalization?
Scenario: Your website's forms are not user-friendly. How would you improve them?
Scenario: Your website needs to handle large datasets efficiently. How would you implement virtualization?
Scenario: Your website needs real-time updates. How would you implement this?
Scenario: Your website has security vulnerabilities. How would you secure it?
Scenario: Your website needs to support dark mode. How would you implement it?