<!DOCTYPE html>
<html>
<head>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<script>
$(document).ready(function(){
$("#hed").click(function(){
$("#para").slideDown("slow");
});
});
</script>
<style>
#para, #hed{
padding: 5px;
text-align: center;
background-color: #FFFF00;
border: solid 1px #c3c3c3;
}
#para{
padding: 50px;
display: none;
}
</style>
</head>
<body>
<div id="hed">c-sharpcorner</div>
<div id="para">c-sharpcornercom</div>
</body>
</html>in this code snippet you will learn how to use slideDown() method in jQuery.
