Q:

Animates all hidden elements to show slowly using jquery

0

Animates all hidden elements to show slowly using jquery

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

HTML Code :

<!DOCTYPE html>
<html>
<head>
<script src="//code.jquery.com/jquery-1.11.1.min.js"></script>
   <style>
 p{
    background: #ECEDF3;
 }
  </style>
  <meta charset="utf-8">
  <title>Animates all hidden elements to show slowly</title>
</head>
<body>
<button>Show it</button>
<p style="display: none">Hello</p>
</body>
</html>

JavaScript Code :

$( "button" ).click(function() {
  $( "p" ).show( "slow" );
});

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

Similar questions


need a help?


find thousands of online teachers now