Lin-cT / stu2

MIT License
0 stars 0 forks source link

Using Javascript with HTML DOM | Lindsay’s Blog #3

Open utterances-bot opened 11 months ago

utterances-bot commented 11 months ago

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

7mwang commented 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.