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

Sorry, your code does not pass. Keep trying.

Your code should have a link element.

Your code so far


<!-- User Editable Region -->

<!DOCTYPE html>
<html lang="en">
<head>
    <body>
    <meta charset="UTF-8">
    <title>RPG-Dragon Repeller</title>
    </body>
    <link  href="styles.css" rel="stylesheet">
</head>
</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/121.0.0.0 Safari/537.36

Challenge Information:

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

It looks like you have a couple of issues.

You are missing the div element with the id of game.

but also, your body tags are in the wrong place

body tags should be below the head not inside the head element

once you fix those issues, then the test will pass

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