Creating Local Folder for Images

Hi guys,
I’m pretty new and I’m having trouble displaying images for my variable/array(?)
It’s essentially a card game that generates a random image, this is the pathway I concocted:

// “document.getElementById(“display”).innerHTML= ‘<img src= /’ + currentCard.image + '.jpg”>

’ + + ‘

’ + currentCard.description + ‘


the image source is just the only thing I’m not sure how to do.

Can I host the folder of images through an image host service?

Thank you

You can host the images through the “assets” tab in the Glitch editor. If you want to upload your images to a different host, I suggest GitHub as it’s easy to just copy the RAW url and paste it in your code.

Happy Coding!