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 trialMelissa Taylor
7,352 Pointswhy doesn't: "a" > "b" work for this question?
not sure what the answer is supposed to be here, but "a" > "b" works in the console ...
2 Answers
Caleb Kleveter
Treehouse Moderator 37,862 PointsSeines it is asking for variables do not use quotes around a and b, with them they turn into strings.
William Lynch
5,636 Pointsok, I figured it out. It was worth pursuing. You have to have a space before and after the operator.
I tried these on the challenge and got:
a>b fails a > b works.
Bill
William Lynch
5,636 PointsWilliam Lynch
5,636 PointsI still haven't found a solution that actually works on the challenge. The text for the quiz talks about ascii characters so I believe that the quotes around a and b are correct.
I've tried every combination I can think of and still can't get it work. I don't. Maybe it's broken question. You would think that someone else would have found this.
if you have an answer, please try it on the challenge first. I've seen many suggestions, but none worked.
Any ideas?