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

Getting mistakes on the challenges even though if I run my script on a code editor it works

app.js
var myName = "Rob";

2 Answers

Steven Parker
Steven Parker
229,788 Points

Testing challenges on a code editor isn't generally helpful because the challenge has specific criteria that the code editor won't check for.

But in this case, your code should pass the challenge. I pasted your line directly into the challenge and it did pass for me. You might want to try again and if it still happens, contact the Support staff directly.

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

Hey there Nathalie Anfuso ! :wave:

There was some maintenance going on with the challenges yesterday and they were temporarily not working, so it probably wasn't your code. It was only down for a few minutes though and everything should be all back to normal. Go ahead and git it another try if you haven't yet :smiley:

Sorry for the inconvenience!

No worries, thank you so much I was stuck for like 10 minutes going back and forth between lessons, copying and pasting and still got it wrong hahaha thank you for clarifying this