var username = prompt("What is your name?") alert("Hi " + username + " I am Kinog!") var con = confirm("Do you want to hear a joke?") if (con === true) { alert("Let's begin with an easy one.") } else { document.write("Well you suck... Please Reload") throw new Error() } var asdf = Math.random() if(asdf < 0.33) { var bone = prompt("How many jokes can a skeleton say?") if (bone === "a skele-ton") { alert("You got it right! You baddie") alert("Time for the next one") } else { alert("A skele-TON!") } } if(asdf < 0.66) { var naked = prompt("You know what happens when I get naked in the bathroom?") if(naked === "the shower gets turned on!") { alert("You got it right you baddie!") alert("time for the next one") } else { alert("The shower gets turned on!") } } if(asdf < 1) { var cheese = prompt("Knock Knock") if (cheese === "Who's there?") { var cheese2 = prompt("Old lady"); if (cheese2 === "Old lady who?") { alert("I didn't know you could yodel!") } else { alert("You need to say 'Old lady who?'"); throw new Error(); } } else if (cheese === "who's there?") { var cheese2 = prompt("Old lady"); if (cheese2 === "Old lady who?") { alert("I didn't know you could yodel!") }else { alert("You need to say 'Old lady who? Please reload!'"); throw new Error(); } }else { alert("You gotta say 'Who's there? Please reload!'") throw new Error() } } var jokes = confirm("Do you want to hear some more jokes?") if(jokes) { confirm("Let's move on to some harder jokes! XD") } else { confirm("Welp you are one boring person, and you should feel bad!") throw new Error() } var dad = Math.random() if(dad < 0.33) { var knock = prompt("Did you hear about the guy who invented the knock knock joke?") if (knock === "No") { alert("He won the 'no-bell' prize") alert("Time for the next one") } else { alert("He won the 'no-bell' prize") } } if(dad < 0.66) { var sidewalks = prompt("What do you call cheese by itself") if(sidewalks === "Prov-alone!") { alert("You got it right you baddie!") alert("time for the next one") } else { alert("Prov-alone!") } } if(dad < 1) { var apples = prompt("How many apples grow on a tree?") if(apples === "all of them!") { alert("You got it right you baddie!") alert("time for the next few!") } else { alert("ALL OF THEM!") alert("time for the next few!") } } var joke = Math.random() if(dad < 0.33) { var nose = prompt("Why can't you have a nose 12 inches long?") if (knock === "Because it would be a foot") { alert("Because it would be a foot!") alert("Time for the next one") } else { alert("Because it would be a foot!") } } if(joke < 0.66) { var band = prompt("How you heard of the band 1023 MB?") if(band === "No") { alert("That's because they haven't got a GIG yet!") alert("time for the next one") } else { alert("No you haven't heard of them, they haven't gotten a GIG yet!") } } if(joke < 1) { var body = prompt("Why can't skeletons trick or treat?") if(body === "Because they have no 'body' to go with!") { alert("You got it right you baddie!") alert("time for LAST HARDEST ONE!") } else { alert("Because they have no 'body' to go with!") alert("TIME FOR THE LAST AND HARDEST JOKE!") } } document.write("
Why did the coffee file a POLICE REPORT?