EduFlow
Modern CSS Mastery

Final assessment

Twelve questions across the whole course. Score 70% or more to pass and unlock your certificate. You can retake it as often as you like.

Finish every lesson to earn the certificate — you can take the assessment any time.

Question 1 of 12

What color is the paragraph?

HTML
<p style="color: red">Doors open at 08:30</p>
CSS
p { color: blue !important; }
Question 2 of 12

An element has the hidden attribute and the class card. What is its display?

CSS
@layer reset, components;
@layer reset { [hidden] { display: none !important; } }
@layer components { .card { display: grid !important; } }
Question 3 of 12

--accent is never defined anywhere. What does color: var(--accent, teal) produce?

Question 4 of 12

A two-column grid uses grid-template-columns: 1fr 1fr. A code sample with a very long line makes the first column much wider. Which change keeps the columns equal and lets the code scroll?

Question 5 of 12

A component uses font-size: clamp(1rem, 4cqi, 2rem), but on one page it isn’t inside any size container. What does 4cqi resolve against there?

Question 6 of 12

Which declaration centers a fixed-width block horizontally in both left-to-right and right-to-left pages?

Question 7 of 12

What does background: color-mix(in oklch, var(--brand), transparent 80%) produce?

Question 8 of 12

Your dark mode swaps every token correctly, but form <select> menus and scrollbars stay bright white. What’s missing?

Question 9 of 12

A mouse user clicks a button and sees no focus ring; a keyboard user tabs to it and sees one. The CSS uses :focus-visible. Is this a bug?

Question 10 of 12

A dialog shown with showModal() should fade in from opacity 0. The transition on opacity never runs on open. What’s the fix?

Question 11 of 12

Speaker cards reveal with a scroll-driven animation inside @supports (animation-timeline: view()). What does a visitor using stable Firefox in 2026 see?

Question 12 of 12

Fifty speaker cards transition box-shadow on hover, and moving the mouse across the grid feels heavy. What’s a cheaper way to get the same look?

12 questions unanswered