V School | Better Humans, Better Outcomes

Exercise - Loops

Loops help you reduce your lines of code when performing a task multiple times. Here you will learn how to use some of the different looping structures. Beware of infinite loops! * Write a function that accepts a string as input. Write a loop and add each letter of the string

Conditionals Practice

If statements and Boolean logic are used in every useful program to help decide what should be done given a certain set of inputs or conditions. This exercise will help you become more familiar with these programming constructs. * Write a JavaScript function that accepts two numbers as inputs. Print out

The Original Bounty Hunter

You are a bounty hunter of the Old Republic. Your parents were killed by a Sith Lord as a child and your goal in life is to kill all the Sith and Jedi. In order to help you in your quest, and since you are a do-it-yourself kind of bounty

Bounty Hunting with Mongoose

Boba Fett has asked you to build him an API so he can keep track of his bounties. You have done a satisfactory job up to this point except that every time the server reloads, all the data is wiped. Boba Fett is absolutely not happy about this because it

Intro to Mongoose

Mongoose is a library for connecting to MongoDB and running queries from a Node.js app. Installation is trivial: npm install --save mongoose. Although documents in a MongoDB collection do not have to be homogeneous (they may have different schemas), Mongoose enforces document schemas to make the collection more uniform

V School | Better Humans, Better Outcomes © 2026