Quantcast
Channel: Active questions tagged html - Stack Overflow
Viewing all articles
Browse latest Browse all 73875

Creating multiple divs with decreasing numbering every tenth

$
0
0

This is my first question here on stackoverflow. I want to create multiple divs in visual studio code. The id of the divs should be decreasing but not immediately. Like not id 5,4,3,2,1. I would like to create 10 divs with id 10 then 10 divs with id 9 and so on. So it shouldn't decrease by one immediately if you understand. Tried to Google now for some days but couldn't find any answers. Thanks for any help! Edit: The whole point is that I want to create a coordinate system. So 10 divs should be 10,1 10,2 10,3 10,4... And then when it reaches 10,10 I want it to create 9,1 9,2 9,3...


Viewing all articles
Browse latest Browse all 73875

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>