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

PHP PHP Basics (Retired) PHP Conditionals & Loops Conditionals Challenge

What's wrong with my IF statement?

The challenge just asks for an IF statement, no code to be executed.

I put the following in the console and I still get "Bummer! I cannot see your if statement."

if ($name == 'Mike') { }

Is there something wrong with this if statement?

I think there's something wrong with the code challenge engine.

2 Answers

Someone just asked this question 3 minutes before you :)

https://teamtreehouse.com/forum/not-sure-what-is-missing-with-my-if-statement

I had the same issue, must be some problem with the code challenge engine.