jQuery noob here, so apologies for the question!
I'm writing up a static site for a client and they've given me a rather interesting challenge I'm not sure how to approach.
They'd like to have a button on a page that takes random images from a directory and places them in a grid. I'm great with the HTML and the styling, I just have no idea where to get started on the jQuery.
This is basically a demo of what I'd like to implement, assuming the button is pressed every second or so.
Is this feasible and/or possible using only jQuery (i.e. having it as a static site)?
Answers accompanied by explanations are greatly appreciated, as I'm still a learner in web dev!
Thanks!
Try utilizing
$.map()
,.remove()
,setTimeout
,.appendTo()
,.on()