V School | Better Humans, Better Outcomes

Compare Dates

Write a JavaScript function to compare dates (i.e. greater than, less than or equal to). Your function will take 2 dates as arguments and will console.log whether the first date is >, <, or = the second date. (You can format this however you want by using the actual "greater than"

First Non Repeat

Write a JavaScript function to find the first non-adjacently-repeated character in a given string. Examples: * "abbbbc" returns "a" because it's the first instance of a character that doesn't repeat adjacently. * "aaaabcd" returns "b". * "aacccddeefg" returns "c".

Shuffle an Array

Write a Javascript function to shuffle an array.

Factorials

Write a JavaScript program to calculate the factorial of a number. In mathematics, the factorial of a non-negative integer n, denoted by n!, is the product of all positive integers less than or equal to n. For example, 5! = 5 x 4 x 3 x 2 x 1 = 120

JavaScript and jQuery

This tutorial will cover how to do things in JavaScript and jQuery. We will first go through how to do something with JavaScript, then show how to do the same thing with jQuery. Why would we use jQuery or JavaScript? JavaScript is, frankly, what makes websites cool. It allows a

V School | Better Humans, Better Outcomes © 2026