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

Tell us what’s happening:

I keep getting an error about adding a link element. Can someone help?

Your code so far


<!-- User Editable Region -->

<!DOCTYPE html>
<html lang="en">
  <head>
    <title>RPG - Dragon Repeller</title>
    <meta charset="UTF-8"
    <link rel="styles" href="styles.css">
  </head>
    <body>
      <div id="game"></div>
      <script src="styles.js"></script>
    </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/120.0.0.0 Safari/537.36

Challenge Information:

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

Welcome to the community @jjking4eva !

Should the rel value be styles or stylesheet

Correct this and it should work for you.

Wishing you good progress!

1 Like

I’d make sure you are finishing off the meta tag properly.

1 Like

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