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

Tell us what’s happening:

My code does not pass, it says my html element should have a closing tag. Did I make a typo or something? I checked and compared it to previous projects and forum questions, but I don’t see anything wrong with it:(

Your code so far


<!-- User Editable Region -->

<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF8">
  <title>RPG - Dragon Repeller</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 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36 Edg/132.0.0.0

Challenge Information:

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

Hi. You don’t have a closing html tag. You are missing a character from your UTF text value

Thank you, it works now!

1 Like