lundi 30 décembre 2019

getting a random file from a folder

i'm trying to get a random file out of a folder. I have absolutely no clue what I'm doing.

my html:

<script src="javascript.js"></script>
<img id="myimage" alt="" />
<div>if you want to request a removal of a image, contact me at -----------</div>

what would be the JavaScript for this, and where would I put the JavaScript?




Aucun commentaire:

Enregistrer un commentaire