jQuery Hide and Show Paragraphs

If you click on the "Hide" button, I will disappear.


Dependencies:

  • jquery
jQuery(document).ready(function($) {


$("#hide").click(function(){
$(".demo p").hide(1000);
});

$("#show").click(function(){
$(".demo p").show(1000);
});
});