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

Tell us what’s happening:

It is telling me “Your code should have a link element.” Did I improperly link the css file? This code is what I’ve been using the entire time.

Your code so far


<!-- User Editable Region -->

<!DOCTYPE HTML> <html lang="en"> <head>  <body> 

    <meta charset="UTF-8"/>
   <link rel="stylesheet" type="text/css" href="styles.css"/>
    
</head>
<title>RPG - Dragon Repeller </title>
<div id=" game"></div> </body> </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/122.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 @victoria.mtchs

Please place the body opening tag before the div element.
Move the title element above the closing head tag.
Remove the space before game in the id attribute value.

Happy coding

1 Like

thank you! i appreciate it

1 Like

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