0
HTML / JAVASCRIPT: How can we let a button generate a random video from a pool of <li></li> within an ordered list?
https://code.sololearn.com/WdXitg835otG/#html Goal: A button that, once clicked, will let ALL contents within ONE random set of <li></li> and HIDE the other sets. In my case, I am putting a video and some text within each pair of <li></li> tags.
2 Antworten
0
Do you mean to display a random content from a set on click event of button??
Sorry explain your aim a little bit more.
0
Divya Mohan
Essentially like the button on this page:
https://random-ize.com/random-youtube/