V School | Better Humans, Better Outcomes

String Methods

Now that we are familiar with Strings and Functions we are going to teach you about String Methods. Now methods are essentially just functions that are built within the scope of an object. When people say function they are typically referring to a function on the global scope, whereas a

Disemvoweling

Create a function that removes all vowels and spaces from a string. The function should then return the result as an object with two keys "consonants" and "vowels". Example const input = "Pickle Rick!" function disemvoweling(string){ } disemvoweling(input) // Output: // { // consonants: "pcklrck!", // vowels: "iei" // }

Game of Threes

Write a recursive function that takes two integers, n and counter as parameters and does the following: 1. If the n is divisible by three, divide it by three and call the function again, providing the new value as n and counter + 1 as counter 2. If not, either add

Event Targets

For this post, you should have an understanding of events in JavaScript. You should also be somewhat familiar with Chrome Developer Tools. We will be using it to explore the event object. We will be going over the event object, and the sometimes subtle differences different events have. Event Handler

Higher-order Function Exercise

We will use the given array helpers to transform the given for loops away from being for loops. Here is some data you can use, feel free to add more car objects to it: const cars = [ { make: "ford", model: "E150", year: 2000 }, { make: "chevy", model: "malibu", year: 2017 }, { make: "chevy"

V School | Better Humans, Better Outcomes © 2026