I am looking to create my first web based jQuery app. I have acheived half of the result that I want. Updating my button to change to 'Hide Answer' once clicked, however I would like the button to change back to the original text of 'Show Answer' when the user clicks an activates the toggle...
$(".answer-button").click(function(){
$(this).html("Hide Answer").prev().toggle();
});
jsfiddle included here;