Command Palette

Search for a command to run...

Hectal
Phase 5: Easing and Timing
Web Animation · Exercise 4 of 4 Previous
Intermediate

A reveal that never hides the list

The feature cards are hidden by CSS and shown by JavaScript. If the script fails, the page is blank.

Hide the cards only under a .reveal class that the script adds, and add it only when reduced motion is not requested. Without .reveal the cards must show at once.

What Check tests

  1. No rule hides the cards unless it needs the .reveal class
  2. With the class, the cards arrive and are all visible after 700 ms
  3. Reduced motion: visible with no movement and no animation

Stuck? One hint at a time

The solution unlocks after your first Check. Try first: that is where the learning happens.

Runs in your browser. Your code is saved here.

Your page

Press Run to see the page.
00:00.000
animations
0.00s0.10s0.20s0.30s0.40s0.50s0.60s0.70s0.80s0.90s

Nothing is moving yet. Hover, click or scroll the page: every animation it starts shows up here as a track.

frames

Console

Nothing logged yet.