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 trialMatthew McAlister
516 Points"Bummer! I cannot see your 'if' statement"?
During PHP Conditionals & Loops during the first code challenge: task 2, I am hitting a bug that says "Bummer! I cannot see your 'if' statement". I am providing the code it requests in the correct context and syntax.
<?php
$name = 'Mike';
if($name == "Mike"){ }
?>
The task reads "Under the variable $name create a if statement that test to see that the $name variable is set to the string 'Mike'."
Thank you, Matt
Matthew McAlister
516 PointsI tried with no result. The engine checking the code does not recognize the if statement.
1 Answer
Matthew Ong
6,041 PointsThis challenge is currently broken, there is no way to complete it as of now.
Matthew McAlister
516 PointsThank you.
Matthew Ong
6,041 PointsMatthew Ong
6,041 PointsTry putting everything on separate lines