1var itemtoReplaceContentOf = $('#regTitle');
2itemtoReplaceContentOf.html('');
3newcontent.appendTo(itemtoReplaceContentOf);
1//Takes input from entire page and uses it to change the HTML of h1
2$(document).keypress(function(event){
3 $("h1").text(event.key);
4});
5