JavaScript JavaScript Basics Introducing JavaScript Link to an External Script

how can i write the alert "I DID IT" here inside the file?

help me please.

  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  <title>JavaScript Basics</title>
  <script src = "shout.js" ></script>
  alert("I DID IT");

Chanda Lupambo
Chanda Lupambo
Pro Student 22,208 Points

firstly you need to close your script tag and just re-write the alert in shout.js.

2 Answers

Your JS code is fine, just move it into shout.js. (To modify shout.js, switch to that tab in the code challenge.)

but why it shows that i failed, and how can i move it help me please.

hi alexander ,thanks verry much i got it.