Transitions — Quiz

Answer all 5 questions, then submit. You need 60% to pass. Log in to save progress.

Question 1
Where should the transition property usually go?
A Only in the :hover rule
B On the element's normal state
C In the HTML
D It doesn't matter
Question 2
What is a good duration for an everyday UI transition?
A 2 seconds
B 0.15s–0.3s
C 5 seconds
D 0 seconds
Question 3
Which properties animate most smoothly?
A width and height
B transform and opacity
C margin and top
D display and float
Question 4
What does the timing function ease do?
A Constant speed throughout
B Starts slow, speeds up, then slows down
C Instant change
D Reverses the animation
Question 5
Why honour prefers-reduced-motion?
A It makes the page faster
B Some users get motion sickness from animation — it's an accessibility courtesy
C It's required by HTML
D It changes the colours