V School | Better Humans, Better Outcomes

The Princess Is In Another Castle

Requirements: * Create a class for a player that has the following properties: * name of type String * totalCoins of type Number * status of type String (options are Powered Up, Big,Small, and Dead) * hasStar of type Boolean (Is a star active?) * setName of type function - Has a parameter called namePicked

Vowels & Consonants

Create two functions. Each function takes 1 parameter of type String, give it whatever name you want. The first function will return the total number of vowels in a given word. The second function will return the total number of consonants in a given word. Print the result of both

Uptown function you up

Create three functions using the provided array as an argument. * First function: returns contents of the array, lyrics, to the console as a string, including necessary spaces. * Second function: returns lyrics backwards ("pretty so I'm myself kiss Gotta..."). * Third function: returns a string of just every other word, (e.g.

Loops & Arrays

Create a function called createEvenArray. It will have 1 parameter called highestNum where you will pass in the highest number that you want to create even numbers up to. Create a for loop inside that function that pushes all even numbers up to that highest number to that array. The

Function Chaining

Create 5 different functions. Each function should print to the console something funny, and then call the next function. Each function should also have 1 parameter. This parameter will be called iteration. Every time you get to the 5th function you should increase the iteration by one, and then pass

V School | Better Humans, Better Outcomes © 2026