We are using jQuery DOM selectors to toggle classes and visibility in main.js but now all of those functionalities are part of the browser built-in functions.
Replace all class toggles, e.g. $('.letter').toggleClass('uppercase'); with the equivalent using the standard document.querySelector and Element.classList
We are using jQuery DOM selectors to toggle classes and visibility in main.js but now all of those functionalities are part of the browser built-in functions.
Replace all class toggles, e.g.
$('.letter').toggleClass('uppercase');
with the equivalent using the standarddocument.querySelector
andElement.classList