How to shuffle list items in an array on refresh
Hi everyone, I want to create an array of list items that will shuffle randomly when a user refreshes the page.
I also only want to display 3 items at at time, but when the browser refreshes it will show 3 random ones each time.
I've seen shuffle plugins, but they work if someone clicks on a button to shuffle the items, which I don't want to do. I want it to shuffle randomly on reload of the page. Can anyone help me with what I'm trying to do? I'm not that great at using jQuery, but I'm learning.