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

Trey Davis
Trey Davis
15,557 Points

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

Yosef Klein
Yosef Klein
253 Points

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