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

Tell us what’s happening:

I’m being told ‘My code should have a link element’, but as far as I can tell from other videos and posts it is quite clearly there.

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/125.0.0.0 Safari/537.36

Challenge Information:

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

Hi there! Use = instead of +

And your closing html tag should be at the end of the document

2 Likes

Life saver, was so focused on it telling me I needed a ‘link element’, I would never have noticed. Many thanks

2 Likes

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