forked from galvanizejs/week4-project1
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsample-main.js
44 lines (21 loc) · 790 Bytes
/
sample-main.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
// EXERCISE THE JQUERY
// We'll be using the html in index.html for the following jQuery exercises.
// After you've completed an exercise, comment out your code (unless otherwise indicated).
//$(document).ready(function(){
// 1. Hide all of the paragraphs on the index.html page.
//$("p").hide();
// 2. Hide all of the h2's on the page.
//$("h2").hide();
// 3. Hide all of the elements in the document.
// $("html").hide();
// 4. Hide all links on the page
// $("a").hide();
// 5. Hide all of the odd table rows (Austin, Colin, & Jessica's rows)
//$(document).ready(function(i){
// $("table tr:odd").hide();
//});
// 6. Hide all paragraphs when they're clicked.
//$("p").click(function(){
// $(this).hide();
//});
// });