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 trialBrandon Rowe
Full Stack JavaScript Techdegree Graduate 15,650 PointsVariable 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.
5 Answers
A R
12,834 PointsThere'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
Brandon Rowe
Full Stack JavaScript Techdegree Graduate 15,650 PointsThanks!
Brandon Rowe
Full Stack JavaScript Techdegree Graduate 15,650 PointsHi! Thanks for your response. What do you mean by "do it locally"? Thanks
Mary Kong
1,146 PointsI 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.
Christian Fynbo
Full Stack JavaScript Techdegree Student 2,910 PointsPlease post your complete html and javascript code. That way we are able to troubleshoot much easier!
Brandon Rowe
Full Stack JavaScript Techdegree Graduate 15,650 PointsHi Christian,
I was able to figure it out. Thanks for your help anyway though. Best, B
Ainne Oum
3,221 PointsI think you might have forgotton to add your scrip tag into your HTML doc.
A R
12,834 PointsA R
12,834 PointsIt'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.