Can someone help with this?


#1


https://www.codecademy.com/en/courses/web-beginner-en-QF3Wb/0/4?curriculum_id=5124ef4c78d510dd89003eb8


Oops, try again.
It looks like your code didn't print 'The condition is false'. Make
sure your if/else statement is set up correctly, and that your condition
evaluates to false.


 <?php
        // Write your if/elseif/else statement here!
        $name = "Jasmine";
        
        if ($name == "Judy") {
            echo "hey Jasmine" ;
        }
        else {
            echo "hey Judy";
        }
      ?>


#2

here at codecademy in some lesson you have to print the same statement what you are told to print.

so here you have to print 'The condition is false'.

you cant change that :slight_smile:


#3

the condition is being evaluated to false but it will not accept my code. Any ideas?


#4

thanks that fixed my error.


#5

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.