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

Evelyn Green
Evelyn Green
544 Points

making another variable called favorite_food

I followed all the step , and it worked in my practice work space, but in the quiz i could not figure out to do the variable for: (favorite_food)

variable.rb
name = "Missie"
puts "favorite food!!"
puts name
Evelyn Green
Evelyn Green
544 Points

That's what I had typed at first, it was a bummer. I typed it the way you sent it and its still a bummer.

sorry I didn't follow the Markdown Cheatsheet correctly. Let me try it again.

favorite_food = "Pizza"

1 Answer

Evelyn, the challenge is to create another variable called favorite_food. Like this: '''ruby favorite_food = "Pizza" '''

Evelyn Green
Evelyn Green
544 Points

Wow !!! that was crazy , I got ...... thank you so much