Web Development
Frontend Architecture, Modern APIs & Full-Stack Systems
Modern Web Development encompasses scalable frontend applications, efficient API protocol design, browser rendering engines, and resilient backend services.
Track Curriculum
Subtopics & Modules
Modern HTML5 & CSS Layouts
Flexbox, CSS Grid, custom properties, responsive container queries, and DOM semantics.
JavaScript Core & ES6+
Event loop, closures, prototypes, promises, async/await, and V8 engine execution.
React 19 & Next.js Architecture
Server Components, Fiber reconciler, Hooks, state management, and SSR/SSG rendering models.
Node.js & Server APIs
Event Emitter, streams, non-blocking I/O, Express middleware, and cluster threading.
RESTful & GraphQL API Design
HTTP verbs, status codes, OpenAPI schemas, GraphQL queries, mutations, and N+1 problem.
Web Security & Authentication
JWT, Session cookies, OAuth 2.0 / OIDC, CORS, XSS, CSRF, and Content Security Policy.
Web Performance & Optimization
Core Web Vitals (LCP, INP, CLS), code splitting, asset caching, lazy loading, and CDN routing.
Interview Questions by Module Topic
Select a module to view its related questions, or explore all modules organized by seniority level
Modern HTML5 & CSS Layouts
The CSS Box Model is the structural foundation of web layouts, composed of four concentric layers: Content (text/images), Padding (clear space around content), Border (frame enclosing padding), and Margin (external spacing separating elements). Under the default `box-sizing: content-box`, when you declare `width: 300px` with `padding: 20px` and `border: 2px solid`, the rendered width expands to 344px (300 + 40 + 4). This unexpected expansion frequently breaks grid columns and causes unwanted horizontal scrollbars. Setting `box-sizing: border-box` forces the browser to absorb padding and borders inside the declared width, so a 300px element stays exactly 300px wide.
/* Standard modern CSS reset */
*, *::before, *::after {
box-sizing: border-box;
margin: 0;
padding: 0;
}
/* Example: Both boxes have identical 300px rendered widths */
.content-box-element {
box-sizing: content-box;
width: 256px; /* 256 + 40 + 4 = 300px */
padding: 20px;
border: 2px solid #3b82f6;
}
.border-box-element {
box-sizing: border-box;
width: 300px; /* stays exactly 300px */
padding: 20px;
border: 2px solid #10b981;
}🔍 Code Mechanics (Css): With border-box, the content area automatically contracts to accommodate the 20px padding and 2px border, guaranteeing predictable layout math across responsive grids.