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

Tell us what’s happening:

Describe your issue in detail here.
I’m cofused as to why its not passing. I’ve gone as far as looking up tutorial. My eyes are weary from a long day but I’m almost positive it’s done correctly

Your code so far


<!-- User Editable Region -->

<!DOCTYPE html>
<html lang="en"></html>
  <head>
    <meta charset="utf-8">
    <title>RPG - Dragon Repeller</title>
    <link rel="stylesheet" href="styles.css">
    </head>
    <body>
      <div id="game">
      </body>
      </html>

<!-- User Editable Region -->

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) 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

You closed the <html> tag prematurely on the second line; please remove it. Additionally, you forgot to close the <div> tag.
Here’s the corrected version:

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <link rel="stylesheet" href="./styles.css">
    <title>RPG - Dragon Repeller</title>
</head>
<body>
  <div id="game">
  </div>
</body>
</html>

thank you very much for the correction!

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