Courses
HTML and CSS Advanced: Styles That Hold Up in Production
Final Check: HTML and CSS Advanced
Fifteen scenario questions across the whole course. If you get twelve or more right, you have the HTML and CSS track covered.
Course content
Join this Course
Sign in to save your progress.
-
Architecture That Scales
-
Modern CSS Without a Framework Crutch
-
Cascade Layers and Specificity You Control
-
-
-
Layout Systems for Real Sites
-
Complex Grids and Nested Layout Patterns
-
Container Queries When the Component Is the Breakpoint
-
-
-
Motion and Interaction Done Right
-
Transitions and Animations That Don't Annoy People
-
prefers-reduced-motion and Respecting the User
-
-
-
Performance and Delivery
-
Critical CSS and What Blocks First Paint
-
Font Loading Without Layout Jump
-
Responsive Images: srcset, sizes and Lazy Load
-
-
-
Ship and Maintain
-
Design Tokens and Theming Without Duplicating Everything
-
CSS That Survives a Redesign
-
Audit Accessibility and Visual Regressions Before Launch
-
-
- Final Check: HTML and CSS Advanced
1.
Your site has four layers declared in this order: reset, base, components, utilities. A .text-muted rule in utilities has one class. A .nav a.active rule in components has a class, a class and an element. Both set colour. Which wins?
2.
You add one file to @layer vendor and your own CSS is not in any layer. A vendor rule seems to lose to a weak rule of yours. Is this expected?
3.
Which statement about @layer and @import is right?
Layers can be reordered by declaring them again later.
@import url("x.css") layer(vendor) loads the file into the vendor layer, and it must come before other rules except @layer statements.
Importing into a layer makes the file load in parallel with the page.
<link rel="stylesheet" layer="vendor"> assigns a layer in HTML.
4.
Three cards in a row each have a title, a price and a button. One title wraps to three lines. Without subgrid, what do you see?
5.
A product card is placed in three slots on a page, and you want its layout to depend only on its slot. Which setup is correct?
6.
In a flex row, your .slot { container-type: inline-size; } has no width and measures 0px. What is a good fix?
7.
Which animation choice is the better default for a hover effect on a button?
8.
With prefers-reduced-motion: reduce on, which of these should you keep?
9.
What does scroll-behavior: smooth inside @media (prefers-reduced-motion: no-preference) achieve?
10.
A page uses a normal <link rel="stylesheet"> to a slow file. In Chrome's resource timing entry, what is its renderBlockingStatus?
11.
In a test, the same slow stylesheet was loaded with the media="print" and onload pattern. What happened to first contentful paint and the CSS download?
12.
A web font swaps in and the text moves. Which pair of settings goes into the fallback @font-face to match the web font's size and vertical metrics?
13.
sizes="25vw" is written on an image, but the CSS grid now gives the image a 600px slot on a 1280px window. What does the browser do?
14.
Which image should not have loading="lazy"?
15.
You have a light and a dark theme using semantic tokens. A designer asks for dark colours that "just flip the lightness". What check should you run before you ship?
About
Fifteen scenario questions across the whole course. If you get twelve or more right, you have the HTML and CSS track covered.
- Duration
- 15 min
- Last update
- 08/09/2026
Was this helpful?
0
0
Comments (0)
Sign in to commentNo comments yet.