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 trialAlicia Lyons
2,716 PointsJavascript Basics code challenge forward slash\\\??? is this code challenge just broken?
I think the code challenge is broken. Any thoughts?
4 Answers
Calvin Nix
43,828 PointsNo the code challenge is not broken. I just completed it to verify.
Please check out the question again and then think about the quotation marks and what they are doing as far as defining what the string is.
I have my solution if necessary but this code challenge is a really good learning experience, so I think it is better if I didn't give you the answer. I will though if you hit a wall.
Alicia Lyons
2,716 PointsI checked to see if it would work in my text editor. and it worked just fine in the google chrome browser.
syntax:
var statement = "She said, 'How\'s the family?'"
and got no errors.
Calvin Nix
43,828 PointsThe challenge ask you for this input: She said, "How's the family?"
I'm guessing it is being picky about your format, since technically using a single quote is not what they were looking for when quoting was she said.
Alicia Lyons
2,716 Pointsit's the comma. i kept putting a comma behind said. smh. thanks for your help
Alicia Lyons
2,716 Pointsit's the comma. i kept putting a comma behind said. smh. thanks for your help
Calvin Nix
43,828 PointsShhweet. np