Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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,105 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.