-
Notifications
You must be signed in to change notification settings - Fork 555
/
index.html
44 lines (44 loc) · 1.37 KB
/
index.html
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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="css/styles.css">
<title>Average Ratings</title>
</head>
<body>
<div>
<header class="row">
<h1>
Average Ratings
</h1>
</header>
<div class="ratings">
<div class="row">
<label for="star5">5☆</label> <input type="number" min="0" step="1" class="rating" id="star5" value="0">
</div>
<div class="row">
<label for="star4">4☆</label> <input type="number" min="0" step="1" class="rating" id="star4" value="0">
</div>
<div class="row">
<label for="star3">3☆</label> <input type="number" min="0" step="1" class="rating" id="star3" value="0">
</div>
<div class="row">
<label for="star2">2☆</label> <input type="number" min="0" step="1" class="rating" id="star2" value="0">
</div>
<div class="row">
<label for="star1">1☆</label> <input type="number" min="0" step="1" class="rating" id="star1" value="0">
</div>
<div class="row">
<label for="average">Average Rating</label><input disabled type="number" id="average" value="0">
</div>
</div>
<footer>
<span>
©2019 Pluralsight
</span>
</footer>
</div>
<script src="js/ratings.js"></script>
</body>
</html>