We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f4fe6e0 commit 2b6fda4Copy full SHA for 2b6fda4
.gitignore
@@ -1,2 +1,3 @@
1
node_modules
2
-.vscode
+.vscode
3
+.idea
jQuery/jQuery-Effects/hideShow.html
@@ -0,0 +1,33 @@
+<!DOCTYPE html>
+<html>
+
4
+<head>
5
+ <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
6
+ <script>
7
+ $(document).ready(function () {
8
+ $("#hide").click(function () {
9
+ $("p").hide(1000);
10
+ });
11
+ $("#show").click(function () {
12
+ $("p").show(1000);
13
14
15
+ $("#toggleBtn").click(function () {
16
+ $("p").toggle(1000);
17
18
19
+ </script>
20
+</head>
21
22
+<body>
23
24
+ <p>This is a paragraph 1.</p>
25
+ <p>This is a paragraph 2.</p>
26
27
+ <button id="hide">Hide</button>
28
+ <button id="show">Show</button>
29
+ <button id="toggleBtn">Toggle</button>
30
31
+</body>
32
33
+</html>
0 commit comments