DEV Community

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

Collapse
 
andybullet profile image
AndyBullet

Now I included also the HTML in the post.
I want to make different arrays of images active based on the number written in the paragraph. If the number is 0 an array starts, if the number is 1 another one starts, etc ...