Interview Questions
Sharpen your skills with curated frontend engineering interview questions. Dive deep into concepts, explore senior explanations, and learn practical workarounds.
All Curated Questions
76Search, sort, and filter through every curated frontend question by topic or difficulty.
Showing 76 of 76 questions
CSS Box Model: content-box vs. border-box
Master the CSS Box Model. Learn the differences between content-box and border-box, margin collapsing, block vs. inline layouts, and modern layout sizing calculations.
CSS Positioning: Static, Relative, Absolute, Fixed, and Sticky
Master CSS positioning models. Learn how static, relative, absolute, fixed, and sticky work, how they impact the normal document flow, and how stacking contexts are formed.
CSS Specificity: How Styles Are Applied
Master CSS Specificity rules. Learn how the browser calculates specificity scores, inline styles, !important, and how cascade rules determine which styles win.
CSS: Custom Properties (CSS Variables) vs. Sass/Less Variables
Understand runtime CSS Custom Properties, scope cascading, JS integration for dynamic themes, and why they outshine preprocessor compilation variables.
Flexbox vs. CSS Grid: Key Differences and Best Practices
Understand when to use Flexbox (1D) vs. CSS Grid (2D) for modern web layouts. Learn their differences, content-first vs. layout-first design, alignment properties, and key interview scenarios.
CSS Flexbox: Layout Guide and Practice
Master CSS Flexbox. Learn about main and cross axes, flex container and item properties (grow, shrink, basis), alignment, and real-world UI design solutions.
CSS Grid: Layout Guide and Practice
Master CSS Grid. Learn about grid templates, lines, areas, auto-fit/auto-fill, track sizing with fr units, and building complex two-dimensional layouts.
CSS: Modern :has() Selector and Pseudo-classes vs. Pseudo-elements
Master pseudo-classes, pseudo-elements, and the modern native parent selector ':has()' to create complex relational styling rules without JavaScript.
JavaScript Async/Await Interview Questions
Master JavaScript async/await interview questions with practical examples. Learn how async functions, await, promises, error handling, concurrency, and the event loop work under the hood.
JavaScript: call vs. apply vs. bind
Explain explicit function context binding in JavaScript. Learn the differences between call, apply, and bind, and how to write a custom polyfill for bind.