Semicolon missing?


"Oops, try again. Did you add a semicolon after the echoed string?"

        $loopCond = false;
        do {
            echo "<p>Now the loop is done running.</p>";
        while ($loopCond);


@valklau I see no problems with your code might be something wrong with your browser.


You've deleted one of the original echo statements and wrapped the do / while loop around the wrong echo statement!

You need to follow the instructions exactly as they are described to pass the exercise.

Click the Reset Code button to start the exercise with the original code.

Then read the instructions carefully to see you just need to add in the missing { }, ( ) and ;s.


Haha, seems like I have accidentally deleted it. After hitting 'Reset Code' everything seems to work fine. This was just my own carelessness, thank you for pointing out my little mistake there :slight_smile:


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