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

sajjad
1,337 PointsError? Change <script src="random.js"></script> to <script src="js/random.js"></script>
Workspace incorrectly references the js file "random.js" you must reference the directory "js/" like so: <script src="js/random.js"></script>
1 Answer

Steven Parker
242,031 PointsThe workspace doesn't include that reference initially — you add it while following along with the video when he says, "and make sure to update the script tag in index.html to point to random.js". He does indeed change the src
attribute to the correct value "js/random.js"
.
Take another look and see for yourself. It does go by pretty quick, so you might need to pause the video to see it clearly.