Interactive online courses HTML Academy
2026-03-09 12:23 Diff

Loading…
Everything will be ready in few seconds

  • Theory
  • Theory
  • Comments

Landing, step 1

Our space journey passed in the blink of an eye. Hooray, the Moon is right in front of us: we’re preparing to land!

Comments

  • index.html
  • style.css

HTML

<!DOCTYPE html> <html lang="en"> <head> <title>Landing, step 1</title> <meta charset="utf-8"> <link rel="stylesheet" href="epoch5.css"> <link rel="stylesheet" href="style.css"> </head> <body class="cosmic"> <div class="moon"></div> <div class="rocket arrival"> <span class="fuel"></span> </div> </body> </html>

Thanks! We’ll fix everything at once!

The code has changed, click “Refresh” or turn autorun on.

You’ve gone to a different page

Click inside the mini-browser to shift the focus onto this window.

100%

  1. Create an animation fly containing a frame to with a transform: translate(240px, 260px) rotate(-30deg) transformation,
  2. then assign this animation to the rocket .rocket:1.5s in duration, ease-out type, keep the state after animation.