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

Im a little confused how to answer this -"Fill in the blank characters to create a valid Ruby String." What is it asking

Not sure what this question is asking me to accomplish. I have tried a variety of different answers to create a valid ruby string, and nothing works.

6 Answers

Try the double quote or single quote in both blanks.

It is perhaps looking something like this?

string1 = "_____"

Where your answer then might be:

string1 = "This is a string"

I too can't pass this question for some reason! I've tried a variation of blank and full strings with no luck. has anyone figured it out?

Just put one quotation mark in each space - "

I tried this one and it works.

Put a double quotation in the beginning of the first field and put a another double quotation at the end of the second field.

Don't add anything else.

Bill

I posted this earlier. I tried this one and it works.

Put a double quotation in the beginning of the first field and put a another double quotation at the end of the second field.

Don't add anything else.

Bill

I got this code to work by adding \s into the blanks so .. headline = " Coding \s with" \s Treehouse" \s fun!"