Open utterances-bot opened 11 months ago
nice way to switch the links and connect the HTML and js, can also use onclick="" in the button itself to call your function, but doing it in javascript is fine too. Nice optimization by setting a variable as "document.getELementById()" so you dont have to type it every time. again, consistent themeing is cool for more structure and consistency.
Using Javascript with HTML DOM | Lindsay’s Blog
A Tech Talk on how javascript can interact with HTML DOM
https://lin-ct.github.io/stu2/basics/dom