V School | Better Humans, Better Outcomes

forEach(), find(), findIndex(), some(), and every() Wizard Battle Practice

Log to the console every Wizard in the array using forEach(). var wizards = ["Edwin Odesseiron", "Harry Potter", "Ronny the Bear", "Gandalf the Grey"] Using the following array, complete the following tasks in order. Some tasks will change the behavior of later tasks. var wizards = [ { name: "Edwin Odesseiron", age: 37, alignment:

CSS Grid

This write-up is taken from the beautifully built course here: https://scrimba.com/g/gR8PTE This will give you a brief rundown of the main functionality presented with CSS Grid and hopefully a simple explanation of how to implement it yourself. If you want the cool color scheme below add

Hoisting With Functions

What is hoisting? Hoisting is a general way of describing how JavaScript is read. Certain syntax of functions will, in a sense, cause the declared functions to be hoisted to the beginning of the code. Before diving deeper into how hoisting works and what it means for us, let's take

Loops and Arrays Practice

#1 Loop through the following array and count how many "computers" there are. Log the final count: var officeItems = ["stapler", "monitor", "computer", "desk", "lamp", "computer", "lamp", "stapler", "computer", "computer"] #2 Loop through the following array and log to the console "old enough" if they are 18 or older, and "not

Intro To Using Loops and Arrays Together

Usage Often times we will want to "loop over" or "iterate over" and array. This means we go and dig into each of the items in our array and either check it for something or do something with each item. Examples Meal Helper App A user selects 5 ingredients in

V School | Better Humans, Better Outcomes © 2026