Learn CSS Animation by Building a Ferris Wheel - Step 1

Tell us what’s happening:
The only issue I have with this code is that when I click the check button it tells me the link should be within the head. I’m pretty sure it is but I could be wrong.

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"></link>
</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/116.0.0.0 Safari/537.36

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

Link to the challenge:

Hello!

Remove the closing tag, please? Links are self closing. :slight_smile:

Welcome to the community!

You are doing great! Sorry for missing to state this in the first message. A bit distracted this morning!

Keep up your great progress! :slight_smile:

So I removed the closing tag and it still won’t work unfortunately. The hint is still saying that the link should be in the head.

I found the issue, I think!

The closing html tag should be after the body closing tag.

If the above does not work, or to be sure of no further issues with this code, you may wish to restart the step.
complete it as you have with the two changes.
Links are self closing so do not require a closing tag.
html closing tag should be at the very bottom of the page at all times.
It is what we use to create our document.

I hope this brings you success and your are able to continue with your great progress. :slight_smile:

Happy coding!

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