-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
39 lines (32 loc) · 1.04 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
<!DOCTYPE html>
<html lang="pl">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="stylesheet" href="./style.css">
<title>Numbers Facts</title>
</head>
<body>
<div class="wrapper">
<p>Click one of this buttons to see number or year facts</p>
<div class="switch">
<button class="number" id="number">Number fact</button>
<button class="year" id="year">Year Fact</button>
</div>
</div>
<div class="container" id="container">
<h1 class="heading">Number Facts</h1>
<input type="number" id="input" class="input">
<h2>Result: </h2>
<div id="output" class="output"></div>
</div>
<div class="box" id="box">
<h1>Year Facts</h1>
<input type="number" class="input" id="yearInput">
<h2>Result: </h2>
<div id="yearOutput" class="output"></div>
</div>
<script src="./index.js"></script>
</body>
</html>