This forum is now read-only. Please use our new forums at discuss.codecademy.com.

Conditionals and Control Flow Forum

View Course » View Exercise

223 points
563651815d5afaa8a59d0238a28d1a6a?s=140&d=retro
Submitted by
codeto_54cd5fbad3292f0774002359_dele
almost 3 years ago

wont let move to next course can any se where i have gone wrong

Below is the code that im using can anyone tell where its wrong, been stuck on this for sometime now!

I have tried recommended answers from the board still not moving on!

thanks in advance

<?php
if(7 < 5) {
echo "The condition is true";
}
else {
echo "The condition is false";
}

?>


1 vote

permalink

My code is the same:

      <?php
        // Write your if/elseif/else statement here!

  if(10 < 3) {
    echo "The condition is true";
  }
  else {
    echo "The condition is false";
  }

      ?>

It works!

But what I don't understand is that my code works

2283 points
A86f7a545bb298e9d17b1b0ba5ae2a31?s=140&d=retro
Submitted by
Sergeant Shift
over 2 years ago

2 Comments

Bb1a9a31e5e7efe8af3d80fcb74d2660?s=140&d=retro TheiaCoding over 2 years ago

yea mine works also but says its wrong

A86f7a545bb298e9d17b1b0ba5ae2a31?s=140&d=retro Sergeant Shift over 2 years ago

but also it was in the Google Browser