Learn CSS Animation by Building a Ferris Wheel - Step 1

Tell us what’s happening:
Describe your issue in detail here.
it keeps saying Your link element should be within your head element.

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/115.0.0.0 Safari/537.36

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

Link to the challenge:

This is a bit of a confusing error.

The issue is that you have closed your html element too early:

Because of this, the browser is trying to “guess” where your other elements should go, and is not putting them in the correct place (in this case, it’s putting them all in the body element).

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