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 The Console Challenge

Valerie Nyre
Valerie Nyre
8,408 Points

Why does the Preview for changes made to "The Console Challenge" do not show my (saved) changes?

I load the workspace in parallel with the tutorial, make changes to the script.js and save all files. When clicking the Preview icon, the pages which are loaded in the preview do not show the changes made to the script.js file.

Is there a problem about loading scripts which I can avoid?

Must I wait for some "latency" time until I click the Preview icon?

After clicking the preview icon, restart the page that opens.

3 Answers

Barbara Wiacek
Barbara Wiacek
9,901 Points

I have the same problem. Whatever changes I make to the .js file, it's not appearing in the preview!! This is extremely frustrating. I'm using Firefox.

I had a similar problem. Turns out, I had AdBlock on. Oops. Hope this saves someone else the frustration!

Darren McAffee
Darren McAffee
3,162 Points

I also had to disable AdBlock, and refresh the "previewed" window. Thanks for the comment. Cheers.

Jeremy Castanza
Jeremy Castanza
12,081 Points

Try using the Menu option. File > Save All. I've seen this issue too. Not 100% why it's occurring. If I update the console code directly though and refresh the page, it seems to take my changes.