Yearly Archives

24 Articles

Uncategorized

DOM Events

Posted by Danial on

DOM events are user events that a web browser monitors to provide interactivity in the website.

https://www.w3schools.com/js/pic_htmltree.gif
https://www.w3schools.com/js/pic_htmltree.gif

When listening to user events, it’s important to set the id of the different buttons that you want to monitor (using id preferred over class as there is a slight performance improvement).

Uncategorized

Starting with JavaScript today!

Posted by Danial on

Finally starting with learning JavaScript after taking so long with HTML and CSS. Having learnt Python before, it’s a gentler slope to overcome when learning JS.

First few lessons are simple basics, i.e. understanding what are numbers, strings, booleans, comparisons, variables. There was also a couple of exercises to practice with in the browser dev console.

Also learnt control flow, namely conditionals. Very similar to Python except slightly different syntax (OR is||, AND is &&, NOT is !).

Days since last Zero Day: 9 (10/9/2020)