-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
50 lines (46 loc) · 1.86 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
45
46
47
48
49
50
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="style.css">
<title>Greatreader | SheSharp & Troopl Hackathon 2021 | Krista Calleja Submission</title>
</head>
<body>
<main>
<div class="card">
<p>How many books would you like to read this month?</p>
<form id="form" action="#">
<div class="input-aria-live sr-only" aria-live="polite"></div>
<input type="number" id="books" min="1" max="4" placeholder="4">
<button id="commit" type="submit">Commit</button>
</form>
<p>Choose a number between 1 and 4.</p>
</div>
<div class="board">
<p>Click the book icon once you have finished it.</p>
</div>
<div class="modal-outer">
<div class="modal-inner">
<div class="text">
<h2 id="congratulatory"></h2> and remember,
<h3 id="quotes"></h3>
</div>
<img id="close" src="images/close-outline.svg" alt="close modal">
</div>
</div>
<!-- <div class="modal-outer-retake">
<div class="modal-inner-retake">
<div class="text">
<p>I'm afraid you'll be biting off more than you can chew if you set such a steep goal. Choose a
number below 1 and 4 books.</p>
</div>
<img id="close" src="images/close-outline.svg" alt="close modal">
</div>
</div> -->
<button id="reset">Reset commitment</button>
</main>
<footer>Designed and coded in Vanilla JS by <a href="https://kristacalleja.github.io/">Krista Calleja</a>.</footer>
<script src="index.js"></script>
</body>
</html>