-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
95 lines (84 loc) · 2.82 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" type="image/png" sizes="32x32" href="./images/favicon-32x32.png">
<link rel="stylesheet" href="./src/Calculator.CSS">
<link href="https://fonts.googleapis.com/css2?family=Spartan:wght@700&display=swap" rel="stylesheet">
<title>Frontend Mentor | Calculator app</title>
</head>
<body>
<main id="container">
<!-- HEADER -->
<header class="header-container">
<div class="header-position">
<div class="calc-text">
<h1>calc</h1>
</div>
<!-- CHANGE THEMES -->
<div class="control-themes">
<p class="theme-text">THEME</p>
<div class="box-numbers-circle">
<div id="theme-toogle" class="numbers-theme">
<p id="one">1</p>
<p id="two">2</p>
<p id="three">3</p>
</div>
<div id="circle"></div>
</div>
</div>
</header>
<!-- SCREEN RESULT -->
<section class="screen">
<p class="internal-screen-result">
<input type="text" id="screenResult" readonly placeholder="0">
</p>
</section>
<!-- CALCULATOR BODY -->
<section class="buttons-container">
<div class="buttons-area">
<div>
<button class="num" value="7">7</button>
<button class="num" value="8">8</button>
<button class="num" value="9">9</button>
<button class="del-button">DEL</button>
</div>
<div>
<button class="num" value="4">4</button>
<button class="num" value="5">5</button>
<button class="num" value="6">6</button>
<button class="opr" value="+">+</button>
</div>
<div>
<button class="num" value="1">1</button>
<button class="num" value="2">2</button>
<button class="num" value="3">3</button>
<button class="opr" value="-">-</button>
</div>
<div>
<button class="dot-button" value=".">.</button>
<button class="num" value="0">0</button>
<button class="opr" value="/">/</button>
<button class="opr" value="*">x</button>
</div>
<!-- DIF BOTTONS -->
<div class="reset-igual-position">
<button class="reset-button">RESET</button>
<button class="equal-button">=</button>
</div>
</div>
</section>
</main>
<!-- AUTHOR AND WEBSITE -->
<footer>
<nav>
<P>
Challenge by <a href="https://www.frontendmentor.io?ref=challenge" target="_blank">Frontend Mentor</a></P>
<P>Coded by <a href="https://github.com/Hashimoto1312" target="blank">Kendi Hashimoto</a>
</P>
</nav>
</footer>
<script src="./src/Calculator.JS"></script>
</body>
</html>