Complete the Animation
Fill in the Blank Easy
Question
Fill in the blank to apply the 'fadeIn' animation over 2 seconds.
Code
.box {
___: fadeIn 2s ease-in;
}
Hint
It is the shorthand property for keyframe animations.
Explanation
The 'animation' shorthand property applies a keyframe animation. The full syntax is: animation: name duration timing-function delay iteration-count direction fill-mode play-state. Here, 'fadeIn 2s ease-in' sets the name, duration, and timing function.
Related Resources
Related Lessons
Look up unfamiliar terms
A beginner-friendly glossary explains jargon in plain English — variables, functions, DOM, Promise, and more.
Decode error messages
Plain-English explanations of common errors — what they mean, why they happen, and how to fix them.
Build real projects
Apply what you learned by building guided projects with starter code and solutions.