Factorization: Make a webpage that asks the user to input an integer,
and outputs all of its factors.
Hint: Use the
remainder
operator.

Calculating Pi: Make a webpage that asks the user to input the number
of sides of an inscribed polygon in a unit circle, and calculates an approximation of pi.
Hint: Calculate the circumference of the inscribed polygon. Watch the
video below to learn more:

Calculating pi

Finding Angles: Make a webpage with an element in the center, and have
that element rotate to face where the user moves the mouse cursor.
Hint: Find the angle between the element and the mouse cursor. Watch the
video below to learn more:

Finding angles

Probability: Make a webpage that asks the user to input an integer,
and rolls two six-sided dice that many times. Display how many times each number between
2 and 12 was rolled, and compare that to the theoretical probabilities.
Hint: Count the number of ways to roll each number. Watch the video
below to learn more:

Probability

Large Numbers: Make a webpage that asks the user to input a large integer,
and spells out the integer. Use this
list of large number names
for the output.
Example Input: 2147483647
Example Output: 2 billion, 147 million, 483 thousand, 647
Hint: Use the
substring
method.