forked from J404Simpson/calculator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
84 lines (81 loc) · 2.81 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
<!DOCTYPE html>
<html>
<head>
<title>Follow the Wandering Anemone!</title>
<meta charset="utf-8">
<meta name="keywords" content="DevAcademy, EDA, HTML, CSS, Javascript, Web developer">
<meta name="description" content="Follow the journey of a wandering sea anemone on her way to becoming a web developer">
<link media="screen" rel="stylesheet" href="style.css">
<link href="https://fonts.googleapis.com/css?family=Architects+Daughter&display=swap" rel="stylesheet">
<!--add favicon-->
</head>
<body>
<!--Header-->
<header>
<a id="homebtn" href="../index.html">
<h1>The Dev Journey of a Wandering Anemone</h1>
<h2>Te Haerenga Kaihanga o he Hūmenga</h2>
</a>
<!--Menu-->
<nav>
<ul>
<li class="dropdown">
<a class="dropbtn" href="../about.html">About</a>
<div class="dropdown-content">
<a href="../wandering_anemone.html">Wandering Anemone</a>
</div>
</li>
<li><a href="blog.html">Blog</a></li>
<li><a href="../projects.html">Projects</a></li>
</ul>
</nav>
</header>
</nav>
<div class='container'>
<main>
<h1>Calculator</h1>
<div id="calculator">
<div class="row">
<input type="text" id="display" value="start" disabled>
</div> <!--check-->
<div class="row">
<button type="button" id="clear-all">AC</button>
<button type="button" id="clear">C</button>
<button type="button" id="previous-result">Ans</button>
<button type="button" id="divide">/</button>
</div>
<div class="row">
<button type="button" id="seven">7</button>
<button type="button" id="eight">8</button>
<button type="button" id="nine">9</button>
<button type="button" id="multiply">*</button>
</div>
<div class="row">
<button type="button" id="four">4</button>
<button type="button" id="five">5</button>
<button type="button" id="six">6</button>
<button type="button" id="substract">-</button>
</div>
<div class="row">
<button type="button" id="one">1</button>
<button type="button" id="two">2</button>
<button type="button" id="three">3</button>
<button type="button" id="add" class="tall">+</button>
</div>
<div class="row">
<button type="button" id="zero">0</button>
<button type="button" id="decimal">.</button>
<button type="button" id="equals">=</button>
</div>
</div>
</main>
</div>
<footer>
<nav>
<a href="contact.html">Contact</a>
<a href="sitemap.html">Site Map</a>
</nav>
</footer>
<script src="calculator.js"></script>
</body>
</html>