SoFunction
Updated on 2025-04-03

js loop output pictures, if there are insufficient ones, you need to make up for 0 original

I want to display ~ on the webpage. What if JS is implemented?
This is how HTML is written
<img src=>
<img src=>
...
<img src=> 
<img src=> 
...
<img src=>

Solution:


[Ctrl+A Select all Note:Introducing external Js requires refreshing the page before execution]