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

Xue Tan
Xue Tan
2,781 Points

they asked to place a space character, why \s doesn't work?

they asked to place a space character, why \s doesn't work? Is there sth I do wrong or it's a bug...

5 Answers

Here's my quiz after entering \s in each field:

q

And here is what I get when I submit that answer:

a

The whitespace marker for a space is \s - you are correct; I just entered that in the challenge and it worked fine. Best try it again and make sure you don't enter any characters other than \s!

Steve.

Xue Tan
Xue Tan
2,781 Points

Thank you for your reply, I did it so many times today, it doesn't work, maybe I will try this tomorrow again, maybe there's sth wrong with my computer or brower.

Yep - try it again with a fresh session and make sure you just enter \s with no spaces in each of the three gaps where that answer is required.

Let me know how you get on.

Steve.

Xue Tan
Xue Tan
2,781 Points

Hi Steve, still doesn't work can't upload pictures, but I'm sure, I onlu typed in \s no other things. but thank you. Xue

Kalea Wolff
Kalea Wolff
2,672 Points

I've noticed (maybe it's just an issue on mobile) that I can't access the middle prompt line. I can access the first and last without issue. But for obvious reasons it's wrong if I submit it. Is there a thread other than here I should report this bug to?

Probably best to report to Support. I think they're at help@teamtreehouse.com