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 trialJoshua Cohen
3,582 PointsStage 2 strings challenge task 1
Why isn't my answer working?
http://teamtreehouse.com/library/basics-3
Challenge task 1 of 1
Q: In 'strings.js' file define a string called 'statement' with the text of - She said "How's the family?"
TreeHouse: Bummer! You've the string is the incorrect value remember to use \ before the " or '.
My Answer: var statement = "She said, \"How\'s the family?\"";
2 Answers
Misha Shaposhnikov
8,718 PointsYes, that is correct English. Treehouse's Challenges require EXACT answers, though. Good de-bugging on your part. =)
Joshua Cohen
3,582 Pointsthanks :)
Joshua Cohen
3,582 PointsJoshua Cohen
3,582 Pointsfigured it out. The comma was throwing the error (even though that's correct English, right?)