Please help the exercise doesn't work


#1

https://www.codecademy.com/es/courses/web-beginner-en-5YvPF/0/6?curriculum_id=5124ef4c78d510dd89003eb8#

https://www.codecademy.com/es/courses/web-beginner-en-5YvPF/0/6?curriculum_id=5124ef4c78d510dd89003eb8#

<the page stays sending the code and it doesn’t let me finish or make nothing else >

``` <?php $loopCond = false; do { echo "

The loop ran even though the loop condition is false.

"; } while ($loopCond = true); echo "

Now the loop is done running.

"; ?>
</body>
<do not remove the three backticks above>

#2

With

which you used in
while ($loopCond = true);
you are assigning the Boolean-Value =true= to the variable $loopCond

But you want a comparison which you would express with a double-equal-sign like ==
so you would have
while ($loopCond == true);


#3

Everything OK. It was not easy but I made it!


#4

The problem still there disappointed_relieved


#5

You will have to change the condition into


#6

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