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

JavaScript JavaScript Basics (Retired) Making Decisions with Conditional Statements The Conditional Challenge Solution

Sacha Drouin
Sacha Drouin
2,863 Points

Warning! Instructor forgets to add parentheses to some of his .toUpperCase() functions in this video.

Just something to look out for if you're copying his answer.

5 Answers

Mihia Maftei
Mihia Maftei
1,315 Points

How did you seen that ?did you copy his code and when you try it give you an error (is just a wee joke i couldn't resist to say that lol)

Steven Parker
Steven Parker
229,921 Points

Good catch!   :eyes:   You might also want to report this as a bug to Support.

Wow. No wonder the program kept saying I was only getting 1 answer out of 5 right.

Jazzy schaeffner
Jazzy schaeffner
2,091 Points

Thank you! I was writing the challenge in my notes and noticed that and got confused. Thanks!

Roger Wong
Roger Wong
1,663 Points

It's funny because I did the same thing in my code, before watching this video! Must be a common mistake.