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

whats wrong?

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

<!-- User Editable Region -->

    <script>
    console.log("Hello world")
    </script>

<!-- User Editable Region -->

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

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36

Challenge Information:

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

Hi! The code tests in these lessons are looking for code that follows exactly what the instructions say. Re-read the last part of the instructions for this step and I think you’ll get it. :wink:

<script>console.log("Hello World");  </script>

You forgot the semi-colon ;

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