JavaScript and the DOM
Posted on Jul 28th, 2022
Today’s topics
- Calculator Wrap Up
- Pre-work for next week
🎯 Project for the week: JavaScript Calculator
Part 2: Due 4pm Today, July 28
🔖 Resources to use as reference on Fetch
- MDN AJAX
- MDN Fetch API
- MDN fetch() method
- CSS-Tricks article on using Fetch
- MDN Working with JSON
- Code Academy Lesson on Fetch
- AJAX explained by analogy
⭐️ EXTRA/TMI
This resource is really not at all necessary to understand or do the project, but if you want to know more about the concept of tree structures in computer science, check out this piece from Vaidehi Joshi’s BaseCS blog series. She is awesome! There is also a thoroughly delightful accompanying BaseCS podcast with the equally amazing Saron Yitbarek.
And here is more info about what is happening when a browser renders a page – very enlightening, although not strictly necessary at this stage:
This is a good explanation about how JS events “bubble” up the chain of elements on the page:
If you would like to know more about the JavaScript Event Loop and how it works, I highly recommend this resource. Don’t miss the video of the conference talk that goes along with it – it’s excellent: