V School | Better Humans, Better Outcomes

Hello, Class!

var sayHello = function(){ console.log("hello class") } Tasks Level One * call the function * change this function expression to a function declaration Tasks Level Two * Give the function a name parameter * Pass the function call a string (preferably a name) as an argument. * Return a cool string, like: "Hello Fred!"! Tasks

Random Password Generator

Write a function that generates a random password. * The function should have a parameter that dictates the length of the password. * The function may contain any upper and lower case characters. * The function may contain any numbers and symbols. Example function randomPasswordGenerator(number) { //creates a password //number specifies length } randomPasswordGenerator(

Warmup - Checkers!

Write a console-log version of checkers that has the right amount of squares and something to represent the checkers on the board. You don't have to move the checkers for part 1, for now just set up the board and print it out.

Enemy Generator

Build a constructor that can generate enemy "objects." Then write a function to create 100 enemy objects, store them in an array, and return the array. Each enemy object should have the following properties: * type * hitPoints * defense The type should be randomly selected among the following types: * Ancient Dragon * Prowler

Sum All Odd Fibonacci Numbers

Given a positive integer num, return the sum of all odd Fibonacci numbers that are less than or equal to num. The first two numbers in the Fibonacci sequence are 1 and 1. Every additional number in the sequence is the sum of the two previous numbers. The first six

V School | Better Humans, Better Outcomes © 2026