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 Storing and Tracking Information with Variables Create a Variable

terencelewis
terencelewis
5,142 Points

I declared this variable but it's not accepting it. var myName = "Terence";

app.js
var myName = "My  Name";

1 Answer

Steven Parker
Steven Parker
229,670 Points

This looks fine, and if I copy the code above and paste it directly into the challenge, it passes.

Try again?

terencelewis
terencelewis
5,142 Points

It was the browser I guess, I switch computers and it worked. Thanks