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!
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

Kian Gobryas
Courses Plus Student 2,297 Points.toUpperCase refuses all answers!
...Javascript var answer = prompt('What programing language is the name of the gam?'); if ( answer.toUpperCase === "RUBY" ) { document.write("<p>That's right!</p>"); } else { document.write("<p>Sorry, that's a wrong answer.</p>"); }...
2 Answers

james south
Front End Web Development Techdegree Graduate 33,271 PointstoUpperCase is a method as has to be called with parens afterward, like myString.toUpperCase().

Kian Gobryas
Courses Plus Student 2,297 PointsThank for your help James.