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

Tell us what’s happening: I tried using the course to learn my JavaScript but it bringing out my code is not there yet and i don’t understand.

Describe your issue in detail here.

Your code so far


<!-- User Editable Region -->

 <!DOCTYPE>
 
  <html>
    <head>
      <meta charset="UTF-8">
        <title> </title>
        <link rel="stylesheet" href="style.css">
        <body>
          <div id=""> </div>
         </body>
       </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

You appear to have created this post without editing the template. Please edit your post to Tell us what’s happening in your own words.

Welcome to the forum @Odemuyiwa
The DOCTYPE element needs the html attribute.

The html element needs the lang attribute property and value.

The id attribute needs a value.

To add the attributes for the first two problems, visit one of the courses on the freeCodeCamp Responsive Web Design Certification to see what values you need.

Happy coding

1 Like

Thank you so much!!!

1 Like