Learn CSS Animation by Building a Ferris Wheel - Step 1

Tell us what’s happening:
Describe your issue in detail here.
I am having issue passing this level, i did what is right and it keeps telling me to add link within head!

Your code so far

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

Your browser information:

User Agent is: Mozilla/5.0 (iPhone; CPU iPhone OS 16_0 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.0 Mobile/15E148 Safari/604.1

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

Link to the challenge:

Hi!
The error is a little misleading. This is the line of code that needs fixing. The html element should wrap around all other code except the doc type declaration rather than open and close on the second line.

<html lang="en"></html>

Hope this helps!

No it doesn’t, i still have not passed it yet.

Next time please copy and paste your code into a reply instead of posting an image of your code. It will make it easier for people to check the code for issues.

Also if you want to reply to someone directly so they will be notified of your reply, please press the button marked ‘reply’ with the left pointing arrow on it.

You have two html closing tags now. You should only have one closing tag per html element. Delete the html closing tag on the second line of code and your code should pass. :slight_smile:

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