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 String Creation

Fill in the blank characters to create a valid Ruby string. website = _______Treehouse______ What goes here?

I understand Ruby strings require quotes, either single or double, and double quotes cause variable interpolating, but no variable is needed to generate the string. Would a valid answer for this question be:

website = "www.team___Treehouse.com"

?

Thanks

1 Answer

Thanks for the quick reply!

When I do the quiz it tells me I'm wrong.

William Li
William Li
Courses Plus Student 26,868 Points

put a double quotation mark on both blank, and nothing else, it'll pass.

That worked, thanks! I hope to find out why my url string didn't work soon.