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

Evan Johnson
PLUS
Evan Johnson
Courses Plus Student 1,177 Points

I think that this quiz is bugged because whenever I input two strings for example it says that it dosent work

On the question where it talks about website and treehouse it has this:

website = "dogs" Treehouse = "dogs". And both of those are strings but it is telling me that the answer is wrong.

1 Answer

Dan Johnson
Dan Johnson
40,532 Points

The quiz wants you to make the word Treehouse into a string literal and then assign it to the variable website.

Also, If you were to do two assignments on the same line, you'd need to end the first statement with a semicolon:

website = "dogs"; Treehouse = "dogs"

Better just to put them on separate lines though.