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

Why won't Chrome browser accept changes in workspace?

I am trying to do The Console Challenge for the JavaScript Basics course and for this workspace console task and the previous one before this it would not recognize when I corrected the code and saved the changes and just continued to show up in the preview as if I changed nothing at all. I am using a Chrome browser. Do I need to change something in my browsers settings? It was showing changes when I did all the workspace challenges before these last two.. so weird. Any help?

Patrick Cote
Patrick Cote
4,019 Points

I'm having the same problem as everyone above. Chrome not reflecting the changes made to my code

4 Answers

jack AM
jack AM
2,618 Points

I have had similar quirks, where I had to clear the cache. For windows and linux its control+f5, and for osx its command+r

Win 10

jack AM
jack AM
2,618 Points

So when you preview your code, try to clear your cache by hitting control+F5. I was amazed at the problems I was having in trying to view my saved code, and it would (still does sometimes) not reflect my changes unless I clear it first. Hope it helps.

Ian Bennett
Ian Bennett
6,056 Points

@jack AM, I am having the same issue with no luck for cmd+r. Do you know if there is some discrepancy between the workspace window and the browser? Any advice would be appreciated.

jack AM
jack AM
2,618 Points

@Ian, there might be, although I myself havent had your particular issue. Chrome is what I use as well, but have you tried using other browsers? Were your workspaces working previously and then stop a few challenges in? And also, do you keep multiple workspaces open or just have the one you're working on open?

In the meantime I'd like to point out, that you can also copy/paste the code from your workspace into a text editor, and run things locally through your browser. (Not sure if you were doing that already)

I have same problems on mac--used chrome and Firefox--same thing.