Learn CSS Animation by Building a Ferris Wheel - Step 1

Not sure when I made a mistake?

Begin with the standard boilerplate. Add your DOCTYPE declaration, your html element with the language set to English, your head and body elements.

Add your meta element for the correct charset, your titleelement, and a link element for the ./styles.css file.

Set the title to Ferris Wheel.

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

<!-- User Editable Region -->

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



<!-- User Editable Region -->

/* 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/15.4 Safari/605.1.15

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

Link to the challenge:

The closing tag for html has to be the last line of the html file

it worked but can you explain why is that ? I thought its always after !DOCTYPE ?

The html opening tag should be after DOCTYPE yes.
But the closing tag should be the last line and all other elements should be nested within it.

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