Assessment request for Loops 3 skill test

Hi,

Can anyone evaluate my code. Any feedback is appreciated. Thanks.

https://codepen.io/radeau/pen/xxZLaxd

Hello @radeau you did a great job, this loop works perfectly :+1: I rarely see loops done with the do {...} while (condition) construct, that’s why I would suggest trying to complete the same task using a for loop just to get used to it, as I feel like they are the most commonly used.

1 Like

For loops was actually the first thing I had in mind but I just tried the do/while loop since I never tried it for the first 2 loops skill test. But I would try to do it(the for loop) as a practice. Thanks @louisono.