Learn CSS Animation by Building a Ferris Wheel - Step 1

Tell us what’s happening:
Describe your issue in detail here.

Your code so far

<!-- file: index.html -->
<!DOCTYPE html> </html>
<html lang="en">
  <head>
    <meta charset="UTF-8"> </meta>
    <meta name="viewport" content="width=device-width, initial scale=1.0"/>
   
    <title>Ferris Wheel</title>
    <link rel="stylesheet" href="styles.css"/>
    </head>
    <body>
      
        <main></main>
      </body>
      
</html>
/* file: styles.css */

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.0 Safari/605.1.15

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

Link to the challenge:

Am I missing something here? apparently there’s a problem with the link element

Hi there,

Yes you have not copied the exact value of the name of the stylesheet file.
They expected ./styles.css

The problem is actually a stray html tag at the top of your page.
When I pasted and submitted your code the error tells me:

The link element should be within the head element

Remove the stray tag and the code will pass, regardless of whether your href is styles.css or ./styles.css.

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