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

Answer obstructed by Period in answer block Course=RubyBasics / Quiz | String

There is a question asking to take the variable name and reverse+downcase. Period obstructs answer and it can't be removed.

Fill in the blanks to call the method that would first reverse the characters in a string, and then make them lowercase.

name = "Treehouse" name.reverse.downcase.

The period at the end can't be removed so Bummer! Unfortunately, that answer is incorrect.

Am I missing something? I think that end period is causing the problem.

2 Answers

Hi Stephen,

There's 2 inputs to fill in there. The 2 periods you need are already there. You would put reverse in the first blank and downcase in the second one.

Thanks, Jason.

For some reason the field box was just highlighting the first field so i thought the complete answer went in there.

Makes sense now.