-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
84 lines (84 loc) · 6.45 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>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]> <html class="no-js"> <!--<![endif]-->
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Calculator</title>
<meta name="description" content="This is a simple javascript calculator.">
<meta name="viewport" content="width=device-width, initial-scale=1"> <!-- maximum-scale=1 -->
<link rel="stylesheet" href="style.css">
</head>
<body>
<!--[if lt IE 7]>
<p class="browsehappy">You are using an <strong>outdated</strong> browser. Please <a href="#">upgrade your browser</a> to improve your experience.</p>
<![endif]-->
<div class="container-page">
<header class="desktop-header">
<button class="desktop-history-popup-button" name="desktop-history-popup-button">Show History</button>
<h1 class="desktop-title">Calculator</h1>
<div class="desktop-light-dark-mode"></div>
</header>
<main>
<div class="container-center-content">
<div class="container-calculator desktop-calculator-slide-left">
<div class="container-display">
<div class="display-small">
<div class="display-small-text"></div>
</div>
<div class="display-big">
<div class="display-big-text">0</div>
</div>
</div>
<div class="container-number-pad">
<button name="number-pad-buttons" class="number-pad-buttons button-all-clear">AC</button>
<button name="number-pad-buttons" class="number-pad-buttons touch-delete button-clear-entry">CE</button>
<button name="number-pad-buttons" class="number-pad-buttons touch-delete button-delete-last-digit" aria-label="button-delete-last-digit"></button>
<button name="number-pad-buttons" class="number-pad-buttons touch-operator button-division" value="÷"><span>÷</span></button>
<button name="number-pad-buttons" class="number-pad-buttons touch-numbers button-number-seven" value="7">7</button>
<button name="number-pad-buttons" class="number-pad-buttons touch-numbers button-number-eight" value="8">8</button>
<button name="number-pad-buttons" class="number-pad-buttons touch-numbers button-number-nine" value="9">9</button>
<button name="number-pad-buttons" class="number-pad-buttons touch-operator button-multiplication" value="×"><span>×</span></button>
<button name="number-pad-buttons" class="number-pad-buttons touch-numbers button-number-four" value="4">4</button>
<button name="number-pad-buttons" class="number-pad-buttons touch-numbers button-number-five" value="5">5</button>
<button name="number-pad-buttons" class="number-pad-buttons touch-numbers button-number-six" value="6">6</button>
<button name="number-pad-buttons" class="number-pad-buttons touch-operator button-subtraction" value="−"><span>−</span></button>
<button name="number-pad-buttons" class="number-pad-buttons touch-numbers button-number-one" value="1">1</button>
<button name="number-pad-buttons" class="number-pad-buttons touch-numbers button-number-two" value="2">2</button>
<button name="number-pad-buttons" class="number-pad-buttons touch-numbers button-number-three" value="3">3</button>
<button name="number-pad-buttons" class="number-pad-buttons touch-operator button-addition" value="+"><span>+</span></button>
<button name="number-pad-buttons" class="number-pad-buttons button-positive-negative" aria-label="button-positive-negative"></button>
<button name="number-pad-buttons" class="number-pad-buttons touch-numbers button-number-zero" value="0">0</button>
<button name="number-pad-buttons" class="number-pad-buttons button-decimal" value=".">.</button>
<button name="number-pad-buttons" class="number-pad-buttons button-equals" value="="><span>=</span></button>
</div>
</div>
<div class="container-history mobile-hide-history desktop-history-slide-right">
<div class="desktop-container-history-header">
<div class="desktop-history-title">History</div>
</div>
<textarea name="history-textarea" class="history-textarea" id="history-textarea" cols="30" rows="10" readonly>No History</textarea>
<label for="history-textarea"></label>
<div class="container-delete-history">
<div class="delete-history"></div>
</div>
</div>
<div class="mobile-container-header">
<a href="https://github.com/CassonCode/calculator" class="mobile-github-project-link"><img src="" alt="" class="mobile-github-logo"></a>
<button class="mobile-history-button" name="mobile-history-button">History</button>
<div class="mobile-container-light-dark-mode">
<div class="mobile-light-dark-mode"></div>
</div>
</div>
</div>
</main>
<footer class="desktop-footer">
<div class="desktop-created-by">Created by <a href="https://github.com/CassonCode" class="desktop-github-account-link" target="_blank" rel="noopener">CassonCode</a> <a href="https://github.com/CassonCode/calculator" class="desktop-github-project-link" target="_blank" rel="noopener"></a></div>
</footer>
</div>
<script src="app.js" async defer></script>
</body>
</html>