Code
//Declares variables by asking client to enter in a promt
var number1 = window.prompt('Enter your first number:','');
var number2 = window.prompt('Enter your second number:','');
//Declares the answer as a variable by converting the two previous variables into integers and adding them together
var answer = parseInt(number1) + parseInt(number2);
//If sum is greater than 100 print Mahoosive number
if(answer > 100)
{
document.getElementById("output").innerHTML = "Mahoosive Number";
}
//else if the answer is less or equal to print Teeny tiny Number
else if(answer <= 100)
{
document.getElementById("output").innerHTML = "Teeny Tiny Number";
}
//Asks client to enter age and declares its as a variable
var age = window.prompt('Enter your age:','');
//calls variable and replaces the inner HTMl in the p tag that has the id age
document.getElementById("age").innerHTML = "You are " + age + " years old";