Why is it that when I use classList it doesn't work

I was trying to add a classList.add to my piece of code but the console show me error caught: cannot read the classList property

19th Dec 2021, 8:41 AM
Beautiful Decor
1 ответ
+ 2
Will u share your code
19th Dec 2021, 8:55 AM
Pariket Thakur
Pariket Thakur - avatar