Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

create multiple images in js

for(let i = 0; i < 10; i++) {
   const img = document.createElement("img");
   img.src = "https://picsum.photos/200/301";
}
Source by softauthor.com #
 
PREVIOUS NEXT
Tagged: #create #multiple #images #js
ADD COMMENT
Topic
Name
2+7 =