View result here link
- Create an event attached to the button.
- On click, the countdown starts, the rocket's image changes to show the combustion at launch.
- The button is disabled after clicking.
- When the countdown attains ten, the rocket flys (CSS animation).
JavaScript | CSS |
---|---|
DOM document | animation |
DOM methods | positions |
timinig event setInterval() | pointer-events |
timing event clearInterval() |