https://dealsforwhiskytasting.blogspot.com/2022/12/use-javascript-to-change-class-of-an.html
Use JavaScript To Change The Class Of An <li>