Learn CSS Animation by Building a Ferris Wheel - Step 1

Tell us what’s happening:
Describe your issue in detail here.
I’ve the link element after the head opening tag & before the head closing tag but the code doesn’t pass and this “Your link element should be within your head element.” hint pops up.
Tried to skip the first step to copy the code on the second step before pasting it back into the first step but the code still can’t pass.

Your code so far

<!-- file: index.html -->

<!-- User Editable Region -->

<!DOCTYPE html>
<html lang="en"></html>
  <head>
    <meta charset="UTF-8">
    <title>Ferris Wheel</title>
    <link rel="stylesheet" href="./styles.css" />
  </head>
  <body></body>

<!-- User Editable Region -->

/* file: styles.css */

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36

Challenge: Learn CSS Animation by Building a Ferris Wheel - Step 1

Link to the challenge:

The problem is in html closing tag, your head and body right now are outside html element

2 Likes

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.