Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

JavaScript JavaScript Basics (Retired) 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
seal-mask
STAFF
.a{fill-rule:evenodd;}techdegree
Jennifer Nordell
Treehouse Teacher

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: