loading...

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

Collapse
itsjzt profile image
Saurabh Sharma

Can you also provide the html?

Collapse
andybullet profile image
AndyBullet Author

I did. Now in the post there is also the HTML.

Collapse
itsjzt profile image
Saurabh Sharma

I will not be a able to debug it today, its Diwali 🎉. Sorry

Thread Thread
andybullet profile image
AndyBullet Author

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

Thread Thread
itsjzt profile image
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/