Welcome to the Treehouse Community
Looking to learn something new?
Platform error "Task one is not passing"
Even though my answer registered as correct, the platform won't allow Task 2 to be completed. (I've tried on a PC, Mac; on Safari, Firefox, and Chrome.) Update: I tried again and received this message: "Oh no! There was a communication problem. If you continue experiencing problems, please contact support at firstname.lastname@example.org."
The Treehouse team recommended that I try in Chrome Incognito (or Firefox Pvt. browsing), (and that maybe an extension was causing the problem), but I just tried it in Incognito and the same thing happens: (I get an "correct" indicator after answer one, then after answer 2 I get "Oops Task One is not passing."
Well, I found your problem, although it is specifically with this challenge and not with your code. When a challenge asks you to do something, it is very specific about what it wants so you shouldn't add in extra methods. This is exactly what the challenge wants:
Now, with that being said, your method is superior to this method because it takes into account differences of capitalization, although the challenge is more meant to test your knowledge of how to use comparison operators.
Thanks very much Marcus. I didn't realize that correct code can stop the platform from working. (I guess it's set up to check things in a very literal way.) But it's also odd because the example of .toUpperCase was used in the video preceding the exercise. I think I'll drop them a line suggesting a change in Task 2 so that it will take either solution. Meanwhile, I'm happy to have scored a few more points and to be moving ahead in the track. :^)