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 Working with Strings Variables and Strings Challenge

Variable and Strings Challenge Difficulty

I am attempting to solve the variable and strings challenge. However, when I click the 'eye' icon to preview my solution/code, a tab window opens up but there are no changes visible on the webpage. I have tried directly copying the solution from the teacher's note, change browsers from chrome to firefox, and disabling extensions but nothing has worked. I even unsuccessfully tried other simple functions like "alert" just to see if I could get the page to respond, but again it was ineffective. Thoughts? Thanks in advance for your help.

A R
A R
12,834 Points

It's kind of a pain but you might want to just try and do it locally on your computer instead of in workspaces. If you have trouble post here, I'll check back later.

5 Answers

A R
A R
12,834 Points

There's a zip file in the project downloads are. You'll need to grab that first, then it's in file 3 'Working with strings" then file 7 has the challenge, the same files as the Workspaces project has

Thanks!

Hi! Thanks for your response. What do you mean by "do it locally"? Thanks

Mary Kong
Mary Kong
1,146 Points

I ran into the same issue. I have to remind myself to save on the workspace and refresh. That way the changes get adapted into the preview.

Please post your complete html and javascript code. That way we are able to troubleshoot much easier!

Hi Christian,

I was able to figure it out. Thanks for your help anyway though. Best, B

I think you might have forgotton to add your scrip tag into your HTML doc.