This forum is now read-only. Please use our new forums! Go to forums
Simple code runs, but will not let me continue
In exercise 1.7 I did a few simple variations of the Do-While loop. In each case the code runs as expected, but the courseware says I did not write a correct statement and I can’t continue. Anybody see an issue why this wouldn’t be ‘correct’?
Here is the code snippet:
$count=0;
do {
$count++;
echo "<p>Count is now: $count</p>";
}
while ($count<10);
echo "Done counting!";
Answer 5523e52bd3292f85e1000626
0 votes
Never mind folks. After reloading the page the courseware accepted that code snipped as ‘correct’ and let me proceed.
Popular free courses
- Free Course
Learn SQL
In this SQL course, you'll learn how to manage large datasets and analyze real data using the standard data management language.Beginner friendly,4 LessonsLanguage Fluency - Free Course
Learn JavaScript
Learn how to use JavaScript — a powerful and flexible programming language for adding website interactivity.Beginner friendly,11 LessonsLanguage Fluency - Free Course
Learn HTML
Start at the beginning by learning HTML basics — an important foundation for building and editing web pages.Beginner friendly,6 LessonsLanguage Fluency