// Written in jquery

// Makes the "Refresh" button print a new aphorism

// Prints an aphorism as soon as the page is started

$(function(){
  $("#output").text("Testing testing");

  // Prints new aphorism when Refresh button is clicked

  $("#refresh_button").click(function(){
    $("#output").text("Refresh succesful!");
  });

});

// Written in jquery

// Makes the "Refresh" button print a new aphorism

// Prints an aphorism as soon as the page is started

$(function(){
  $("#output").text("Testing testing");

  // Prints new aphorism when Refresh button is clicked

  $("#refresh_button").click(function(){
    $("#output").text(print_aphorism());
  });

var aphorisms = [
"Sin always comes in the open, and available to the senses. It walks on its roots, and need not be torn from the ground.",
"There can be knowledge of evil without believing in it, because there is no more evil than exists anyway.",
"Only here is suffering suffering. Not because those who suffer in this world are to receive anything in the next, but because what in this world is Suffering in another world (unchanged and only freed from its opposite) is bliss.",
"The joys of this life are not its own, but our fear of rising to a higher life; the suffering of this life is not its own, but our self-affliction because of that fear.",
];

function print_aphorism() {
	document.getElementById("output").innerHTML = aphorisms[Math.floor(Math.random() * aphorisms.length)]
    };

});
Refresh button pulls random quote
Refresh button pulls random quote

from list of quotes, but purely random (eventually want pseudorandom,
so that quotes aren't repeated too often, or cycling through the list
in some order or something)
