How to parse through images in a folder and display each image on the webpage?
I'd assume to use document.createElement() in a for loop for each file in the folder. How can I go around making that for loop though? How can I use javascript to read what's inside the folder?
1 Reply
Really depends what tooling you are using
You talking about a local folder in your project you need some kinda server side language or build tooling to do this.
Vite i.e. 🙂