DEV Community

Discussion on: JavaScript: I have a problem to set the conditions of the beginnings of the loops.

 
andybullet profile image
AndyBullet

Hi! Today will you be able to solve my problem?

Thread Thread
 
itsjzt profile image
Saurabh Sharma

I will try

Thread Thread
 
itsjzt profile image
Saurabh Sharma

hey, @andybullet I wasn't able to get this working from your javascript code but I managed to make it work 😊.

codepen.io/itsjzt/pen/OJJxBra?edit...

This code includes some newer javascript features like async-await so feel free to ping me if something feels out. I have heavily commented code/