<title>My Example</title>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
$(document).ready(function(){
$("button").click(function() {
<button>Hide the element</button>
<p id="hideMe">Click the button to hide me.</p>
<p>I'll remain visible.</p>