SixStringsCoder {6}

Steve Hanlon

Written by Steve Hanlon who loves writing, composing, publishing, and teaching.
Buy Me a Coffee at ko-fi.com

JavaScript Webpage Workout - M2 Lesson 3 (NodeList)

August 25, 2020

We will look at another method that collects similar elements on the DOM called `querySelectorAll`. This method provides more flexibility to get multiple elements by tag name, class name or CSS selector.

JavaScript Webpage Workout - M2 Lesson 2 (HTMLCollection)

August 22, 2020

Let's continue accessing and manipulating multiple HTML elements but now focusing on the method getElementsByClassName which will allow us to access all elements which have the same class. We'll also get more practice with the for and for of loops.

JavaScript Webpage Workout - M2 Lesson 1 (HTMLCollection)

August 20, 2020

In this lesson we will focus on creating, accessing and manipulating multiple HTML elements such as all p elements or all li elements using the method getElementsByTagName. We'll also get some practice using JavaScript's for and for of loops.

JavaScript Webpage Workout - JS Toolbox

August 15, 2020

Let's start to build a reference or a Toolbox that we can access whenever we need to recall the various methods, properties and event types available to us in JavaScript.

JavaScript Webpage Workout - M1 Lesson 4 exercise 2

August 03, 2020

In exercise 2, we'll continue to practice using textContent, classList and the contains() method plus we'll also look at a new property called className. We'll use those while practicing more conditional logic to toggle between two icons from the Font Awesome library and the Google Material Icons library.

JavaScript Webpage Workout - M1 Lesson 3 Warm-up

July 23, 2020

In this lesson we are going to explore using the filter property to creatively change an image. We will still get lots of practice with the CAMEL sequence plus further hone our skills making event handler functions.

© Steve Hanlon 2025, Built with Gatsby