JavaScript JavaScript Basics Introducing JavaScript Link to an External Script

itamar ducas
itamar ducas
178 Points

WAY THE @##$% i cant skip it? i dont remember the right code

WAY THE @##$% i cant skip it? i dont remember the right code

index.html
<!DOCTYPE HTML>
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  <title>JavaScript Basics</title>
</head>
<body>
  <script src="shout.js"></script>

</body>
</html>
shout.js
<script>
  alert("I DID IT");
</script>

1 Answer

Jennifer Nordell
MOD
Jennifer Nordell
Treehouse Moderator

Hi there, itamar ducas ! You absolutely can skip the challenge. The white "dots" at the top inside the blue bar will allow you to navigate to the next section just by clicking on it.

However, might I suggest that you not skip it? You didn't actually forget how to write it. Your html file contains the script tags that link the shout.js file. Inside that file should just be your JavaScript code. Remember <script> tags are HTML and the alert() is JavaScript. So, if you erase your two <script> and </script> tags from the JavaScript file, and only leave your alert(), your code passes with flying colors!

Hope this helps! :sparkles: