-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
executable file
·70 lines (66 loc) · 2.25 KB
/
index.html
File metadata and controls
executable file
·70 lines (66 loc) · 2.25 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Hold Shift to Check Multiple Checkboxes</title>
<link href="../index.css" rel="stylesheet">
<link href="index.css" rel="stylesheet">
</head>
<body class="container">
<div class="main">
<h1 class="main__title">
<a href="../index.html" class="main__back-btn">←</a>
Hold Shift to Check Multiple Checkboxes
</h1>
<p class="main__description">
The following is a common layout you would see in an email client.
When a user clicks a checkbox, holds Shift, and then clicks another checkbox a few rows down, all the checkboxes inbetween those two checkboxes should be checked.
</p>
<div class="inbox">
<div class="inbox__item">
<input type="checkbox" class="inbox__checkbox">
<p>This is an inbox layout.</p>
</div>
<div class="inbox__item">
<input type="checkbox" class="inbox__checkbox">
<p>Check one item</p>
</div>
<div class="inbox__item">
<input type="checkbox" class="inbox__checkbox">
<p>Hold down your Shift key</p>
</div>
<div class="inbox__item">
<input type="checkbox" class="inbox__checkbox">
<p>Check a lower item</p>
</div>
<div class="inbox__item">
<input type="checkbox" class="inbox__checkbox">
<p>Everything inbetween should also be set to checked</p>
</div>
<div class="inbox__item">
<input type="checkbox" class="inbox__checkbox">
<p>Try do it with out any libraries</p>
</div>
<div class="inbox__item">
<input type="checkbox" class="inbox__checkbox">
<p>Just regular JavaScript</p>
</div>
<div class="inbox__item">
<input type="checkbox" class="inbox__checkbox">
<p>Good Luck!</p>
</div>
<div class="inbox__item">
<input type="checkbox" class="inbox__checkbox">
<p>Don't forget to tweet your result!</p>
</div>
</div>
</div>
<footer class="footer">
<div class="footer__inner">
<span>Check out Sacret's <a href="https://github.com/Sacret">GitHub</a>
and <a href="https://twitter.com/Sacret19">Twitter</a></span>
</div>
</footer>
<script src="script.js"></script>
</body>
</html>