FE Interview Hub

Question Bank 39

Explain the CSS Box Model and the difference between box-sizing values

CSSBasic

What is the Event Loop? Explain the relationship between Call Stack and Task Queue

JavaScriptAdvanced

What is the Prototype Chain? How does JavaScript inheritance work?

JavaScriptIntermediate

What are TypeScript Generics? Give examples of their use

TypeScriptIntermediate

What are the advantages of Vue 3 Composition API over Options API?

Vue 3Intermediate

What is LCP? How do you optimise it to meet Core Web Vitals standards?

Web VitalsAdvanced

What is a Closure?

JavaScriptBasic

What is HTML Semantic Markup?

HTMLBasic

Where should <script> and <link> be placed in HTML?

HTMLBasic

How to include CSS in HTML? What is the priority order?

HTMLIntermediate

What is the difference between async and defer in <script>?

HTMLIntermediate

Explain CSS Selector Specificity

CSSBasic

What is the difference between px, em, and rem in CSS?

CSSBasic

How to center an element horizontally and vertically in CSS?

CSSIntermediate

What is the difference between display: inline and display: block?

CSSBasic

What is the difference between display: none and visibility: hidden?

CSSBasic

Explain the CSS position property and its values

CSSIntermediate

When should you use JPG, PNG, WebP, or SVG in frontend development?

CSSBasic

What are CSS pseudo-classes and pseudo-elements?

CSSIntermediate

What are Reflow and Repaint? How do you optimise them?

Web VitalsIntermediate

What is throttle? How do you implement a throttle function?

Web VitalsIntermediate

What are the ways to optimise front-end performance?

Web VitalsAdvanced

What is debounce? How do you implement a debounce function?

Web VitalsIntermediate

Explain when DOMContentLoaded, load, beforeunload, and unload are fired

Browser InternalsBasic

Explain event delegation, capturing, and bubbling in the browser

Browser InternalsIntermediate

What is the difference between e.target and e.currentTarget?

Browser InternalsBasic

What is CORS and why does it exist?

Browser InternalsIntermediate

Explain the HTTP caching mechanism

Browser InternalsIntermediate

What are the differences between cookie, sessionStorage, and localStorage?

Browser InternalsBasic

You know localStorage, but do you know IndexedDB?

Browser InternalsIntermediate

What is a Web Worker and what can it be used for?

Browser InternalsIntermediate

Walk through the entire process from typing a URL to seeing the page

Browser InternalsAdvanced

Describe the browser rendering process. What is the difference between reflow and repaint?

Browser InternalsIntermediate

What is the difference between HTTP and HTTPS?

Browser InternalsBasic

What are cookie attributes? How to prevent JS from accessing cookies?

Browser InternalsIntermediate

What are the differences between HTTP/1, HTTP/1.1, and HTTP/2?

Browser InternalsIntermediate

What is a CDN?

Browser InternalsBasic

What are the differences between TCP and UDP?

Browser InternalsBasic

What are the common HTTP status codes?

Browser InternalsBasic