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

Clint Townsend
Clint Townsend
669 Points

I changed the JS code on workspace properly. I saved it. I've cleared by cache, etc. The preview workspace doesn't work.

I'm doing it correctly. Something else is wrong.

Rick Buffington
Rick Buffington
8,146 Points

Do you have a code snippet? Any way to tell us which section you are working on?

Jennifer Nordell
seal-mask
.a{fill-rule:evenodd;}techdegree
Jennifer Nordell
Treehouse Teacher

On your workspace in the top right corner you'll find a camera icon. Take a snapshot of your workspace and link it to us so we can take a look around! :)

Jennifer Nordell
seal-mask
.a{fill-rule:evenodd;}techdegree
Jennifer Nordell
Treehouse Teacher

Yup, that's odd. I can preview it fine. It presents the "using prompt() method" and then presents me with a prompt asking for my name. What browser are you using? Do you have popup windows disabled? Do you even see the headline or is it just a blank page?

Clint Townsend
Clint Townsend
669 Points

I'm using Google Chrome. I've disabled my popup blocker. I see the headline.

Clint Townsend
Clint Townsend
669 Points

Tried using IE, and that doesn't work correctly either.

Clint Townsend
Clint Townsend
669 Points

It only works when I reset the cache each time. Obviously can't do that every time I open up a new workspace.

Jennifer Nordell
seal-mask
.a{fill-rule:evenodd;}techdegree
Jennifer Nordell
Treehouse Teacher

That is truly strange. What happens when you run the javascript directly in the console?

Jennifer Nordell
seal-mask
.a{fill-rule:evenodd;}techdegree
Jennifer Nordell
Treehouse Teacher

Well if it's the cache that's causing the problem, I'd suggest turning off the caching of files. Otherwise, you need to contact Treehouse support.