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

Workspace will not load properly

I am having trouble with the Workspace. The program either won't show a preview of my code, or will not show any new changes I have made. I've have exited the workspace and logged out of treehouse and logged back in. I have even shut down or restarted my computer. Yet, I still have the same problem.

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

Could you post a snapshot of your workspace for us? You can do this with the camera icon on the upper right hand side when the workspace is open. Also, have you tried clearing your browser cache?

Same problem for me today.

https://w.trhou.se/fapawien7j

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

Scott Shaver I'm not sure what changes you've made that aren't showing. But what I'm looking at looks really nice.

As I never received an answer for my previous question, I'll ask again. Have you tried clearing your browser cache?

Clearing my cache worked. Thanks.

I don't know how to send a snapshot of the workspace once I have taken one. I also tried clearing the browser cach, but I'm still having issues.

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

Jason Peay Once you create the snapshot click on it. It should open up in a new tab. Copy and paste the URL here :smiley:

https://w.trhou.se/ga7ch3ugiv

Here is the url

Thank you for your help

1 Answer

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

Oh wow! You're going to loooooove this :smiley: I looked at this for a bit before I spotted it. You ready? You're missing a plus sign. That's it. Seriously.

This is what you've written:

var message = '<p>Hello. My name is ' + person.name '</p>';

That should be:

var message = '<p>Hello. My name is ' + person.name +  '</p>';  //note the + sign between person.name and the closing p tag

Don't forget to save and refresh and all that good stuff, but that should fix it! Happy coding! :dizzy:

Thank you, Jennifer, for helping me fix my coding mistake. I really appreciate your help.