When I click one of these two buttons it toggles both the #hide and the .contact p at the same time. I tried adding a class to the ("button") selector.
$(document).ready(function(){
$("#hide").hide();
$("button").click(function(){
$("#hide").slideToggle("display");
});
$("#contact p").hide();
$("button").click(function(){
$("#contact p").slideToggle("display");
});
});
<>
instead of an external link