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

Tell us what’s happening:

Keeps telling my code is wrong and that id didnt open or close the html tag even if its closed

Your code so far


<!-- User Editable Region -->

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

<!-- User Editable Region -->

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:121.0) Gecko/20100101 Firefox/121.0

Challenge Information:

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

Hello!
After trying many things, it seems like the issue isn’t the opening tag, but the language tag. Indeed, I tried many language tags that didn’t work, and all of a sudden, replace it with lang="en" and it works :slight_smile: