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

Ruby Ruby Basics (Retired) Ruby Strings Whitespace Quiz

Kalei Libby
Kalei Libby
2,521 Points

What am I missing when adding spaces to a string? I can't figure out what I'm doing wrong for that question.

I really believe that the correct answer to this question is below:

Coding\swith\sTreehouse\sis\sfun!

Although, I can't seem to figure out what my error is. Can anyone lend a hand?

1 Answer

Yeah, there shouldn't be a problem with the answer, other then the quiz doesn't have the word "is" in it (poor grammar there Treehouse, "Coding with Treehouse fun"?). But yes, the answer should be \s in each of the three blanks. You might want to contact support if that isn't working.

Jennifer Nordell
seal-mask
.a{fill-rule:evenodd;}techdegree
Jennifer Nordell
Treehouse Teacher

Patrick Hager is correct. I've also tried it, and yes the grammar is strange there. But the correct answer is \s in all three blanks. You might try clearing your browser cache and reloading the quiz just in case there's something strange going on there, but likely you're going to have to contact support if it still won't work. Happy coding (and you're doing great)! :sparkles: