From 308567759ad256abde9f89f8c1063c2da0058845 Mon Sep 17 00:00:00 2001 From: Rayssa Roberta <116031703+rayssarrsilva@users.noreply.github.com> Date: Tue, 8 Sep 2026 17:36:53 -0300 Subject: [PATCH 1/2] Implement an output comment at the while loop --- loops/dowhile.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/loops/dowhile.md b/loops/dowhile.md index bafe0a19..9a94180b 100644 --- a/loops/dowhile.md +++ b/loops/dowhile.md @@ -14,7 +14,7 @@ Lets for example see how to print numbers less than 10 using `do...while` loop: ```javascript var i = 0; do { - document.write(i + " "); + document.write(i + " "); // 0 1 2 3 4 5 6 7 8 9 i++; // incrementing i by 1 } while (i < 10); ``` From 7f721b1e06d2d73277d570c245d89db4d0cb9d7c Mon Sep 17 00:00:00 2001 From: Rayssa Roberta <116031703+rayssarrsilva@users.noreply.github.com> Date: Tue, 8 Sep 2026 18:10:18 -0300 Subject: [PATCH 2/2] Some alteration --- loops/dowhile.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/loops/dowhile.md b/loops/dowhile.md index 9a94180b..7911e887 100644 --- a/loops/dowhile.md +++ b/loops/dowhile.md @@ -14,7 +14,7 @@ Lets for example see how to print numbers less than 10 using `do...while` loop: ```javascript var i = 0; do { - document.write(i + " "); // 0 1 2 3 4 5 6 7 8 9 + document.write(i + " "); i++; // incrementing i by 1 } while (i < 10); ``` @@ -30,4 +30,4 @@ var i = 0; do { i++; // incrementing i by 1 } while (i < 5); -{% endexercise %} +{% endexercise %} \ No newline at end of file