-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpractice.html
More file actions
96 lines (73 loc) · 1.78 KB
/
practice.html
File metadata and controls
96 lines (73 loc) · 1.78 KB
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8"/>
<title>Document</title>
<style>
body {
padding: 5em;
}
hr {
margin: 5em 0;
}
#font-grow, #hl-toggle {
cursor: pointer;
}
.star {
cursor: pointer;
background-color: yellow;
}
</style>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
</head>
<body>
<button id="change-bg-color">
Change the background color
</button>
<hr/>
<button class="btn">First</button>
<button class="btn">Second</button>
<button class="btn">Third</button>
<hr/>
<button id="reset-btn">Reset</button>
<hr/>
<div>
<p>
<i class="star fa fa-star checked" data-value="1"></i>
<i class="star fa fa-star checked" data-value="2"></i>
<i class="star fa fa-star checked" data-value="3"></i>
</p>
<p>You are hovering star number: <span id="review-result"></span> </p>
</div>
<hr/>
<div>
<label for="custom-url">URL: </label>
<input type="text" id="custom-url">
<button id="go-to-btn">Go to</button>
</div>
<hr/>
<button id="append-to-ul">Append to the ul</button>
<ul id="append-to-me"></ul>
<hr/>
<h1 id="message">Hello, World!</h1>
<hr/>
<ul id="hl-toggle">
<li>1</li>
<li>2</li>
<li>3</li>
<li>4</li>
</ul>
<hr/>
<ul id="font-grow">
<li>text</li>
<li>text</li>
<li>text</li>
</ul>
<hr/>
<input id="input">
<button id="upcase-name">Upper Case</button>
<p id="output"></p>
<script src="https://code.jquery.com/jquery-2.2.4.min.js" integrity="sha256-BbhdlvQf/xTY9gja0Dq3HiwQF8LaCRTXxZKRutelT44=" crossorigin="anonymous"></script>
<script src="js/practice.js"></script>
</body>
</html>