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

735 points
Submitted by
Oladimeji Gbolahan
about 4 years ago

please help i dont know why my code wont pass

please the code passes but it keeps giving an error message that you did not use endwhile. help me out please.

    //Add while loop below
    $CoinFlip = true;
    while($CoinFlip == true):
        echo "FLIP FLIP FLIP FLIP";
       $CoinFlip = false;

Edited By Gaurang Tandon to fix code formatting

0 votes


Your code works for me. Please try pressing Reset Code, Ctrl + F5, and try again.


2570 points
Submitted by
Gaurang Tandon
about 4 years ago