Learn Basic JavaScript by Building a Role Playing Game - Step 1

why is it saying that the link element is wrong


<!-- User Editable Region -->

<!DOCTYPE html>
<html lang="en"></html>
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title></title>
    <link rel="stylesheet" href="./styles.css">
  </head>

<body>
  <div id="game"></div>
</body>

<!-- User Editable Region -->

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36

Challenge Information:

Learn Basic JavaScript by Building a Role Playing Game - Step 1

Hello!

The closing html tag needs to go to the very bottom of the document.

The error is misleading.

Wishing good progress!

1 Like

Also, you didn’t type in the required tittle element’s text.
title

Good catch. With my eyes, I miss things. But, I am always happy when somebody catches that for me, too.

Wishing you good progress.

Oh god, thank you so much, i was also stuck on this and it pissed me off, but i didnt realise it was because of the html, so thank you