I m not sure how to start this off. I have a bunch of li and I want to add a class let s say .red to li.target at a random time then after a set time remove it. Then repeat.
I found a few things online ... but nothing really helps me in my situation.
<ul> <li class="one"></li> <li class="two"></li> <li class="three"></li> <li class="target"></li> </ul>