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

Stumped on Ruby (Strings) quiz question

Hello. I cannot get the correct answer for the following Ruby Strings question. The question makes no sense to me. Thank you. It goes like this:

Fill in the blank characters to create a valid Ruby string. website = __________________ Treehouse __________________

6 Answers

A string is a series of characters hugged by ". I hope my description helps :D

Thank you. The answer was too obvious. But the presentation of the question created undue confusion.

You are welcome. Yes sometimes the answer is very simple but we often think of more complex things especially when the question seems a bit confusing.

Can someone right for me an example, it,s showing for me that answer is not correct?

I just remembered it is a quiz question. Please show us how you answered it so we can help.

website = " " Treehouse = " "

You need only one quotation mark at each side. Not two. In addition to that you don't need the equal sign after "Treehouse"

ok thanks :)

You are welcome :)

website ="__________ Treehouse_"_________