How to display a random background image derived from an API when a page loads?
My code can showcase image results based on what the user types in, I'm having trouble with displaying a random image from my API when the page loads. I assume math.random is part of it, but I'm having trouble making it work.
Aucun commentaire:
Enregistrer un commentaire