Concepts
Master fundamental frontend architectural patterns and mental models.
0/302Solved
React Ecosystem
Question NameDifficulty
AbortController — cancelling async work the right way
medium
Free
Adding, removing, and mutating DOM elements in vanilla JS
medium
Free
What AJAX actually means today
medium
Free
Why array indices make bad React keys
medium
Free
How to test asynchronous code without flaky tests
medium
Free
What are common async data loading patterns in React?
easy
Free
What are the benefits of using hooks in React?
easy
Free
How does caching improve performance?
medium
Free
What is the difference between Client side rendering and Server side rendering?
medium
Free
How do you organize code in a JavaScript project?
easy
Free
What is Code Splitting?
medium
Free
What are common data fetching pitfalls in React?
hard
Free
Explain the composition pattern in React
easy
Free
What is the difference between controlled and uncontrolled components in React?
easy
Free
What is Cross-Site Scripting (XSS)?
medium
Free
What is the CSS display property and what are examples of its use?
medium
Free
What CSS frameworks have you used?
hard
Free
What is dangerouslySetInnerHTML and why is it dangerous?
medium
Free
What are data attributes in HTML?
easy
Free
What is the difference between debouncing and throttling?
easy
Free
How do you debug React applications?
medium
Free
What is the decorator pattern?
easy
Free
default vs named export
medium
Free
What are design patterns?
medium
Free
What is destructuring assignment?
medium
Free
Global Scope, Function Scope, and Block Scope
hard
Free
How do you optimize DOM manipulation?
medium
Free
What are error boundaries in React?
easy
Free
How do you handle errors in asynchronous operations?
medium
Free
Describe event capturing in JavaScript
medium
Free
What is the Flux pattern?
easy
Free
What is forwardRef() in React?
hard
Free
What are the HTTP methods?
medium
Free
How would you implement dark mode and light mode?
easy
Free
What are JavaScript modules?
hard
Free
What is JSX and how does it work?
medium
Free
What is the Key Prop in React?
easy
Free
How does lazy loading improve performance?
easy
Free
Can we pass function to initial state? What is difference between passing value and passing function?
easy
Free
How do you identify performance bottlenecks?
medium
Free
What tools do you use to measure performance?
medium
Free
Explain the presentational vs container component pattern
easy
Free
What is difference between preventDefault() and stopPropagation()?
medium
Free
What is progressive rendering?
medium
Free
querySelector vs getElementById
hard
Free
How does re-rendering work in React?
hard
Free
What are some common React anti-patterns?
easy
Free
What are the common pitfalls of React context?
hard
Free
What is React Fiber?
medium
Free
What are React Fragments used for?
easy
Free
What is React hydration?
hard
Free
What is the difference between React Node, React Element, and React Component?
medium
Free
What are React Portals?
medium
Free
How do you decide between React state, context, and external state managers?
easy
Free
What is React strict mode?
medium
Free
What is React Suspense?
medium
Free
How do you redirect to a new page in JavaScript?
easy
Free
What are render props in React?
easy
Free
How do you reset a component state in React?
hard
Free
Rest parameters in JavaScript
medium
Free
What are the rules of React hooks?
easy
Free
How does server-side rendering work in React?
hard
Free
Why use the callback format of setState?
medium
Free
Shallow copy vs deep copy
easy
Free
How do SPAs affect SEO?
medium
Free
Spread operator in JavaScript
medium
Free
state vs props in React
medium
Free
What is static generation?
medium
Free
What is the strategy pattern?
hard
Free
What are tagged templates in JavaScript?
hard
Free
What is the ternary operator?
easy
Free
How do you test React applications?
medium
Free
What testing tools do you use?
medium
Free
Different ways to bind 'this' in JavaScript
medium
Free
'this' binding in event handlers
medium
Free
Unit vs integration vs end-to-end testing
easy
Free
What is the difference between useEffect and useLayoutEffect?
medium
Free
What is 'use strict' in JavaScript?
medium
Free
What is the useCallback hook in React?
medium
Free
How does the useEffect dependency array work?
medium
Free
What is the useId hook in React?
easy
Free
What is the useMemo hook in React?
easy
Free
What is the useReducer hook in React?
easy
Free
What is the useRef hook in React?
easy
Free
What happens when the useState setter function is called in React?
medium
Free
What is the Virtual DOM in React?
hard
Free
What is a closure in JavaScript?
medium
Free
What is object destructuring?
medium
Free
Where Do We Use Observer Pattern in Frontend Development?
easy
Free
Why does React recommend against mutating state?
hard
Free
How does the window.history API work?
medium
Free
How do you write good unit tests?
easy
Free
JavaScript
Question NameDifficulty
Anonymous functions — what they are and where they shine
medium
Free
async/await — syntactic sugar over promises
hard
Free
What is the difference between async and defer in JavaScript?
medium
Free
Attribute vs property in the DOM
medium
Free
What is the purpose of break and continue?
easy
Free
What is the difference between call( ) and apply( )?
medium
Free
What is the difference between call( ) and bind( )?
medium
Free
What are callback functions?
easy
Free
How do you check the data type of a variable?
medium
Free
How do you reliably check if an object is empty?
medium
Free
How do you check if an object has a property?
medium
Free
What is a static method in a class?
easy
Free
Classical vs prototypal inheritance
easy
Free
Using closures for private variables
easy
Free
What is code coverage?
hard
Free
What is the command pattern?
easy
Free
Common 'this' pitfalls
medium
Free
CommonJS vs ES Modules
medium
Free
What are the pros and cons of compiling to JavaScript?
hard
Free
What is the Constraint Validation API?
medium
Free
What is currying in JavaScript?
easy
Free
What is the difference between currying and partial application?
medium
Free
What data structure is used to represent the DOM?
easy
Free
What are default parameters?
medium
Free
What is doctype in HTML in start of HTML file?
medium
Free
Why is document.write() considered bad practice?
hard
Free
What is the DOM structure?
easy
Free
What is the difference between dot notation and bracket notation?
easy
Free
What is the difference between == and === in JavaScript?
medium
Free
Error handling with try...catch
hard
Free
How does error propagation work in JavaScript?
medium
Free
What are ES2015 classes and how do they differ from ES5 function constructors?
hard
Free
What is the event loop in JavaScript?
medium
Free
What is the factory pattern?
easy
Free
Why are functions first-class objects?
medium
Free
How do you get query string values in JavaScript?
medium
Free
What is a higher order function?
medium
Free
Hoisting pitfalls and how to avoid them
medium
Free
How do you create a constructor function?
easy
Free
How to prevent the UI from blocking during a long running task?
medium
Free
What are the building blocks of HTML5?
medium
Free
How would you handle image failures in production?
medium
Free
How do you import and export modules?
medium
Free
What is Inversion of Control?
medium
Free
What are the different ways to iterate over arrays?
medium
Free
How do you iterate over object properties?
medium
Free
What are iterators and generators in JavaScript?
easy
Free
JavaScript data types
easy
Free
What are primitive values and reference values in JavaScript?
medium
Free
Promises vs callbacks
easy
Free
What is prototypal inheritance?
easy
Free
How does the prototype chain work?
medium
Free
What is the prototype pattern?
easy
Free
What are Proxies in JavaScript?
medium
Free
Reference vs Syntax Error
medium
Free
Scoping Generics
medium
Free
What are server-sent events?
easy
Free
How do you serve content in multiple languages?
medium
Free
sessionStorage vs localStorage vs cookies
medium
Free
How do you convert a Set to an Array?
medium
Free
What is the srcset attribute?
medium
Free
What is difference between stopPropagation() and stopImmediatePropagation()?
hard
Free
How do you convert a string to a number in JavaScript?
medium
Free
What is the purpose of the switch statement?
easy
Free
What is a symbol type?
medium
Free
What is difference between sync and async function?
medium
Free
Can callbacks be synchronous?
medium
Free
What are template literals?
medium
Free
What is Test Driven Development?
hard
Free
How does the this keyword work in JavaScript?
medium
Free
What does typeof operator do?
medium
Free
What are the different types of errors in JavaScript?
medium
Free
What are the key differences between var, let, and const in JavaScript?
easy
Free
What are the different ways to create objects in JavaScript?
easy
Free
What does preventDefault() do?
medium
Free
What is AB Testing?
medium
Free
What is an arrow function?
medium
Free
What is array destructuring?
hard
Free
What is an async thunk?
easy
Free
What is callback hell?
hard
Free
What is hoisting in JavaScript?
hard
Free
What is Immutability?
medium
Free
What is singleton pattern?
medium
Free
What is Temporal Dead Zone (TDZ) in JavaScript?
medium
Free
What is a thunk?
medium
Free
Why do we use polyfills?
medium
Free
Window object vs Document object
easy
Free
What are workers in JavaScript?
hard
Free
What is the difference between XMLHttpRequest and fetch?
easy
Free
Accessibility
Question NameDifficulty
Web Performance
Question NameDifficulty
CSS Mastery
Question NameDifficulty
What is a Block Formatting Context?
hard
Free
What does box-sizing: border-box mean?
medium
Free
How does the box model work in CSS?
medium
Free
How do you handle browser-specific styling issues?
medium
Free
Explain few methods to center elements in webpages?
medium
Free
What are CSS clearing techniques?
medium
Free
How do you use CSS Grid?
medium
Free
Where should CSS links and JS scripts be placed in HTML?
medium
Free
How does positioning work in CSS?
medium
Free
What are the pros and cons of CSS preprocessors?
hard
Free
What do you like and dislike about CSS preprocessors?
hard
Free
What is CSS selector specificity and how does it work?
hard
Free
What are CSS sprites?
medium
Free
How do you detect if JavaScript is disabled?
easy
Free
What are common CSS efficiency gotchas?
easy
Free
What is feature detection?
easy
Free
What is the difference between Flexbox and Grid?
hard
Free
How do floats work in CSS?
medium
Free
How to improve website performance?
medium
Free
How would you style an SVG?
easy
Free
What is the difference between inline, inline-block, and block in CSS?
medium
Free
What are Progressive Web Apps?
medium
Free
What are pseudo-elements in CSS?
medium
Free
What are reflows and repaints?
hard
Free
What is the difference between Reset and Normalize CSS?
medium
Free
What is the difference between responsive and adaptive design?
medium
Free
How do you serve retina graphics?
easy
Free
What is semantic HTML and why does it matter for accessibility?
medium
Free
How do you serve pages for feature-constrained browsers?
medium
Free
Comparing CSS translate() and absolute positioning: When to use each?
easy
Free
How to truncate text using CSS only
medium
Free
How do you visually hide content but keep it accessible to screen readers?
medium
Free
What happens when you type a URL into a browser and hit enter?
medium
Free
What is Responsive Design?
medium
Free
How do z-index and stacking contexts work?
hard
Free
Web Security
Question NameDifficulty
What is clickjacking and how do you prevent it?
medium
Free
What is content security policy (CSP)?
medium
Free
What is Cross-Origin Resource Sharing (CORS)?
easy
Free
What is CSRF?
easy
Free
How do iframes communicate with the parent page?
medium
Free
innerHTML vs textContent
medium
Free
What is JSONP?
medium
Free
What is the same-origin policy?
medium
Free
How do you implement secure authentication and authorization?
medium
Free
What are security headers?
medium
Free
What tools help find security vulnerabilities?
easy
Free
What are best practices for handling sensitive data?
medium
Free
What is SQL injection and how do you prevent it?
easy
Free
What is cookie?
medium
Free
Why is input validation important?
medium
Free
Web Fundamentals
Question NameDifficulty
Critical Rendering Path
medium
Free
Cross-Site Request Forgery (CSRF) Attacks
medium
Free
CORS Explained: Cross-Origin Resource Sharing
medium
Free
CORS Preflight in Practice: Credentials, Simple Requests & Misconfigurations
medium
Free
Content Security Policy (CSP)
medium
Free
Why is HTTPS Secure? Understanding TLS/SSL
medium
Free
Authorization Best Practices
easy
Free
Cookie Security & Session Hardening: SameSite, HttpOnly, Secure
easy
Free
Core Web Vitals: LCP, INP & CLS
medium
Free
Performance Optimization Trade-offs
medium
Free
Critical Resource Prioritization: Optimize Loading Order
medium
Free
Code Splitting: Optimize Bundle Size with Dynamic Imports
medium
Free
Tree Shaking: Eliminate Dead Code from Your Bundle
easy
Free
Lazy Loading: Load Resources On-Demand
easy
Free
Resource Hints: Preload, Prefetch & Preconnect
medium
Free
Text Compression: Gzip and Brotli
easy
Free
Image & Video Optimization: Modern Formats & Techniques
easy
Free
Adaptive Loading: Optimize for Device & Network
medium
Free
List Virtualization: Render Large Lists Efficiently
hard
Free
Web Workers vs Main Thread: Offloading Heavy Work
medium
Free
Memory Leaks in Frontend Apps: Detection & Prevention
easy
Free
Managing Third-Party Scripts: Optimization Strategies
medium
Free
How CDNs Work: Edge Delivery, Caching & Performance
easy
Free
HTTP Caching Deep Dive: Cache-Control, ETag & Revalidation
medium
Free
Service Workers & Offline Strategy: Cache First, Network First & Update Lifecycle
medium
Free
PWA Fundamentals: Manifest, Installability & Offline UX
medium
Free
Script Loading: async vs defer
easy
Free
Event Loop: Understanding JavaScript Execution Model
medium
Free
JavaScript Module Systems: CJS vs ESM vs UMD
medium
Free
Dynamic Module Loading: import() Function
medium
Free
Import on Interaction: Load When User Interacts
medium
Free
Import on Visibility: Lazy Loading with IntersectionObserver
medium
Free
Browser Rendering Pipeline & Layout Thrashing
medium
Free
Rendering Strategies: CSR vs SSR vs SSG vs ISR
medium
Free
Streaming SSR: Progressive HTML Streaming
medium
Free
Islands Architecture: Independent Component Hydration
medium
Free
React Server Components: Zero-JS Server Rendering
medium
Free
Framework Reactivity: React, Vue, Svelte & Solid
medium
Free
HTTP/1.1 vs HTTP/2 vs HTTP/3 (QUIC) for Frontend Performance
medium
Free
DNS Resolution: Path, TTL, Caching & Frontend Impact
medium
Free
Cross-Site Scripting (XSS) Attacks
medium
Free
State Management: Choosing the Right Solution
medium
Free
Redux: Predictable State Container (RTK + RTK Query)
medium
Free
React Query (TanStack Query): Server State Caching
medium
Free
Data Fetching Patterns: REST, GraphQL, tRPC & Real-time
medium
Free
GraphQL Fundamentals for Frontend: Shape, Caching, and Tradeoffs
medium
Free
gRPC-Web Fundamentals: Browser Constraints and Proxy Model
medium
Free
Caching Strategies: Client, Server & Edge
medium
Free
Data Normalization: Organizing State for Performance
medium
Free
API Design Best Practices: Pagination, Errors, Versioning & Type Safety
medium
Free
API Versioning Strategies for Frontend Compatibility
medium
Free
Pagination: Offset vs Cursor-Based
medium
Free
Rate Limiting & API Resilience: Retries, Backoff, Jitter, Idempotency
medium
Free
How Frontend Developers Can Handle Millions of API Requests Without Crashing Everything
medium
Free
Browser Storage: Cookies, SessionStorage, LocalStorage, IndexedDB
medium
Free
Real-time Communication: WebSockets, SSE & Polling
medium
Free
WebRTC: Real-Time Communication in the Browser
hard
Free
Build & Deployment: Monorepo, CI/CD, Strategies & Release Safety
medium
Free
Frontend AI
NEWQuestion NameDifficulty
Streaming protocols compared: SSE vs WebSockets vs HTTP/2 Push vs chunked transferAI
easy
Free
AbortController and how it composes with fetch + ReadableStreamAI
medium
Free
TextDecoder({ stream: true }): why UTF-8 boundaries break naïve streamingAI
medium
From token generation to character render: the full streaming pipelineAI
medium
RAG: where does the frontend's responsibility start and end?AI
medium