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![](https://ecs-static.teamtreehouse.com/assets/views/marketing/shared/community-banner-white-47072046c51352fe6a69f5e691ff5700b28bb11d45197d7bdf066d9ea3f72d0c.webp)
![Yunghung Chen](https://secure.gravatar.com/avatar/2b4f40736538be6a4c3cd3265ffe5675?s=96&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
Yunghung Chen
Courses Plus Student 246 Pointsi type the <script> and other information like in the video but when i refresh the webpage it doesnt have the massage
i type the <script> and other information like in the video but when i refresh the webpage it doesnt have the massage
![Yunghung Chen](https://secure.gravatar.com/avatar/2b4f40736538be6a4c3cd3265ffe5675?s=60&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
Yunghung Chen
Courses Plus Student 246 Pointshi Washington Simelane i tried that like save the files but still when i refresh i didnt do anything to the website thank you
![Clayton Bailey](https://secure.gravatar.com/avatar/6c8583015c96f5cc56231d1c9c0c139b?s=60&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
Clayton Bailey
1,453 PointsI am having this same issue. In the index.html file I have the <script scr="js/script.js"></script> and in the Scripts.js file I have the alert("Hey, you're back for more?"); I have saved both files and when I click the preview button and hit refresh it doesn't seem to execute because the dialog box doesn't appear. Any Ideas?
1 Answer
![raymond lu](https://secure.gravatar.com/avatar/d8cbcec7fe8cdecc362441ddad686e59?s=96&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
raymond lu
3,083 PointsYou have to make sure that script.js is in the js folder or else it won't be able to find script.js. I was running into that issue as well. I don't know if this solution will work for you.
![Jabari Peterson](https://secure.gravatar.com/avatar/d8ab50a424ec1b75692c5c970a116dd8?s=60&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
Jabari Peterson
4,187 PointsThanks Raymond. This helped a lot.
Washington Simelane
149 PointsWashington Simelane
149 PointsYunghung Chen, I had the same problem it turns out that I didn't save both files (script.js and html)