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.
Do you mean to display a random content from a set on click event of button?? Sorry explain your aim a little bit more.
Divya Mohan Essentially like the button on this page: https://random-ize.com/random-youtube/