New course! Every coder should learn Generative AI!
Try a free lesson0
I want to repeat the same element by js instead of write it a lot of times
1 Answer
+ 2
Take a look how to this build 100 boxes based on a Box class function.
https://code.sololearn.com/WiW7ML9D7T3w/?ref=app