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

Tell us what’s happening:

consola = Uncaught ReferenceError: src is not defined

Your code so far

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <link rel="stylesheet" href="./styles.css">
    <title>RPG - Dragon Repeller</title>

<!-- User Editable Region -->

  <script> src="./script.js"</script>

<!-- User Editable Region -->

  </head>
  <body>
    <div id="game">
    </div>
  </body>
</html>

Your browser information:

El agente de usuario es: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36

Challenge Information:

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

attributes have to be written in the opening tag, like you did for all the responsibe web design course

Tell us what’s happening:

ya no se. lo puse al final y lo puse arriba del head y tampoco funciona no se que estoy haciendo mal…

Your code so far

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <link rel="stylesheet" href="./styles.css">
    <title>RPG - Dragon Repeller</title>

<!-- User Editable Region -->

   

<!-- User Editable Region -->

  <script>src = "./script.js"</script>
  </head>
  
  <body>
    <div id="game">
    </div>
  </body>
</html>

Your browser information:

El agente de usuario es: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36

Challenge Information:

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

you should have learned in the responsive web design certification that the attributes go inside the opening tag