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 trialYusuf Salaam
1,748 PointsA string challenge
I think ive did the code right but a eror message keeps telling be to "make sure I but the backslash is before the or", so i looked for or but I couldnt find it anywhere
2 Answers
Cena Mayo
55,236 PointsHi Yusuf,
I just did this last night and got the same (nonsensical) error. All they're looking for you to do is something like 'She said "I can\'t remember what went here" to me.'
Jacob Miller
12,466 PointsDon't know why the error message says that, but just make sure you put the backslashes in. You code should look like like this: var statement = 'She said "How\'s the family?"'
or this var statement = "She said \"How\'s the family?\""