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

Tell us what’s happening:

No matter what I do, I continue to get the error message ‘Your code should have a link element’
I’ve written it as:

Searching around the forums, I could see this has been an issue for others on different challenges, so I refreshed the challenge, used different browsers, etc. already and NOTHING is working.

I’ve continued on with the challenge but the first step remains blank on the course screen :frowning:

Any help is appreciated!!

Your code so far


<!-- User Editable Region -->

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

Challenge Information:

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

1 Like

Move the closing html tag below the body’s closing html tag.

1 Like

Oh god, of course it was something that simple.
Thank you so much!!

2 Likes

Screenshot 2024-07-08 at 21-43-29 Learn Basic JavaScript by Building a Role Playing Game - Step 1 - JavaScript - The freeCodeCamp Forum
move the closing html tag below your closing body

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