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 trialDarryl Aldjufrie
1,537 PointsMy JS script wont load although i already put the right html code.
I rechecked my code and everything is in its right place but the page wont self destroy.
1 Answer
Ivonne Benites
6,044 PointsHi Darryl, Before the closing tag from the body in your html document, you need to place the tag <script src="the name of your file of js "></script> It will link your document of javascript with your html document. It is the best place to put the tag script.
Brandon White
Full Stack JavaScript Techdegree Graduate 34,662 PointsBrandon White
Full Stack JavaScript Techdegree Graduate 34,662 PointsHi Darryl Aldjufrie,
Any chance you could link us to your workspace or repo so that we can check out what's going on?