Solution Review : State Change with Slide Animation
This lesson provides a detailed explanation for the previous challenge.
In the previous lesson, you were asked to animate an element’s position from its default position to 150px
to the right, depending on the element’s current state (default
or right
). In this lesson, we’ll review the solution.
Get hands-on with 1400+ tech skills courses.