mercredi 24 février 2021

Randomize the order of an html list [duplicate]

I was was wondering if it would be possible to randomize the order of a list in HTML,css, and javascript? Basically just the order would be randomized each time. Here is some very simple code just as a starting point:

<ul>
  <li>Coffee</li>
  <li>Tea</li>
  <li>Milk</li>
</ul>  



Aucun commentaire:

Enregistrer un commentaire