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 Operators and Control Structures Ruby Operators Greater Than

How are these variable names incorrect?

I keep getting the result "Make sure you use the correct variable names!"

I've retyped them several times, and I've copied and pasted the names directly from the question but the result hasn't changed. I can't figure out how the names are incorrect.


current_score = 1
high_score = 2
"current_score" > "high_score"

Nevermind, I figured it out.

Why can't the returned error message be relevant to what you're doing wrong?

Ethan Rivas
Ethan Rivas
9,979 Points

Renee Rhodes I've just tested your answer to the challenge and the error says: Bummer! Make sure you use the correct variable names!. You were using strings, so, the error is relevant to what you're actually doing wrong. :) Happy coding (If your error message is different let me know).

Ethan Rivas Thanks! i had figured it out.