-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
40 lines (39 loc) · 1.67 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
<!DOCTYPE html>
<html lang="en" >
<head>
<meta charset="UTF-8">
<title>CodePen - FCC JS Calculator</title>
<link rel="stylesheet" media="screen" href="https://fontlibrary.org/face/lcd" type="text/css"/><link rel="stylesheet" href="./style.css">
</head>
<body>
<!-- partial -->
<script src='https://cdnjs.cloudflare.com/ajax/libs/react/16.7.0/umd/react.production.min.js'></script>
<script src='https://cdnjs.cloudflare.com/ajax/libs/react-dom/16.7.0/umd/react-dom.production.min.js'></script>
<script src='https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js'></script>
<!--<script src='https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js'></script> -->
<!-- partial:index.partial.html -->
<div id="calculator">
<div id = "display" >0</div>
<div class = "keys">
<button id = "divide"class = "operator" >/</button>
<button id = "multiply" class = "operator" >*</button>
<button id = "subtract" class = "operator">-</button>
<button id = "add" class = "operator">+</button>
<button id = "seven" class ="num">7</button>
<button id = "eight" class ="num">8</button>
<button id = "nine" class ="num">9</button>
<button id = "clear" class = "CE">C</button>
<button id = "four" class ="num">4</button>
<button id = "five" class ="num" >5</button>
<button id = "six" class ="num">6</button>
<button id = "equals" class = "equals">=</button>
<button id = "one" class ="num">1</button>
<button id = "two" class ="num" >2</button>
<button id = "three" class ="num">3</button>
<button id = "decimal" class = "decimal">.</button>
<button id = "zero" class ="num">0</button>
</div>
</div>
<script src="./script.js"></script>
</body>
</html>