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

can you please help me with this thank you :)

i am stuck

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

Kalev L
Kalev L
4,057 Points

You are using a wrong file name. Hint: not all JavaScript files need to be named script.js. Read the challenge instructions carefully to see the file name you need to use or see the .js filename in your question here, that is right below index.html codeblock.

1 Answer

Bruno Navarrete
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
Bruno Navarrete
Full Stack JavaScript Techdegree Graduate 22,246 Points

If your file is called shout.js, that's the name the <script> tag have in it's src attribute. You also mispelled "script" inside the opening tag (you wrote "scrpt").