<ul>
<li class="bearname">Smokey</li>
<li class="bearname">Teddy</li>
</ul>
how do I change those class names here? I tried;
document.querySelectorAll('li').className = "corgitype"
and
document.querySelectorAll('li').classList = "corgitype"
but nothing changes. corgitype
is the new class name that I want to overwrite on bearname