-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnumber.html
More file actions
54 lines (53 loc) · 1.72 KB
/
number.html
File metadata and controls
54 lines (53 loc) · 1.72 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
<<<<<<< HEAD
<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="UTF-8" />
<title>Yes or No</title>
<script
src="https://code.jquery.com/jquery-3.7.1.min.js"
integrity="sha256-/JqT3SQfawRcv/BIHPThkBvs0OEvtFFmqPF/lYI/Cxo="
crossorigin="anonymous"
></script>
<script src="https://unpkg.com/micromodal/dist/micromodal.min.js"></script>
<link rel="stylesheet" href="style.css" />
</head>
<body>
<a id="back-link" href="index.html"><-Back</a>
<h1>
Enter a range of numbers and click on the button to get a random number
</h1>
<input type="number" id="min" placeholder="Min" />
<input type="number" id="max" placeholder="Max" />
<br />
<button id="btn">Randomize</button>
<div class="modal micromodal-slide" id="modal-1" aria-hidden="true">
<div class="modal__overlay" tabindex="-1" data-micromodal-close>
<div
class="modal__container"
role="dialog"
aria-modal="true"
aria-labelledby="modal-1-title"
>
<header class="modal__header">
<h2 class="modal__title" id="modal-1-title">RESULT</h2>
<button
class="modal__close"
aria-label="Close modal"
data-micromodal-close
></button>
</header>
<main class="modal__content" id="modal-1-content">
<p>
Try hitting the <code>tab</code> key and notice how the focus
stays within the modal itself. Also, <code>esc</code> to close
modal.
</p>
</main>
<footer class="modal__footer"></footer>
</div>
</div>
</div>
<script src="number.js"></script>
</body>
</html>