odin-codespace/calculator/index.html

50 lines
2.2 KiB
HTML
Raw Permalink Normal View History

2023-10-03 15:37:18 -04:00
<!DOCTYPE html>
<html lang="en">
2023-10-12 21:41:17 -04:00
2023-10-03 15:37:18 -04:00
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
2023-10-12 21:41:17 -04:00
<link href="https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;800;900&display=swap"
rel="stylesheet">
<link rel="shortcut icon" type="image/svg" href="faviocon.svg">
2023-10-03 15:37:18 -04:00
<link rel="stylesheet" href="css/style.css">
<title>Calculator</title>
</head>
2023-10-12 21:41:17 -04:00
2023-10-03 15:37:18 -04:00
<body>
2023-10-12 21:41:17 -04:00
<div class="container">
<div class="display">
2023-10-03 15:37:18 -04:00
0
</div>
<div class="buttons">
2023-10-05 23:44:22 -04:00
<button id="clear" class="btn" value="cls" data-ops="">A/C</button>
2023-10-08 11:14:17 -04:00
<button id="action" class="btn" value="+/-" data-ops="">+/-</button>
2023-10-04 21:52:07 -04:00
<button id="action" class="btn" value="%" data-ops="">%</button>
2023-10-05 23:44:22 -04:00
<button id="action" class="btn" value="/" data-ops="">÷</button>
2023-10-04 21:52:07 -04:00
<button class="btn" value="7" data-num="">7</button>
<button class="btn" value="8" data-num="">8</button>
<button class="btn" value="9" data-num="">9</button>
<button id="action" class="btn" value="*" data-ops="">*</button>
<button class="btn" value="4" data-num="">4</button>
<button class="btn" value="5" data-num="">5</button>
<button class="btn" value="6" data-num="">6</button>
<button id="action" class="btn" value="-" data-ops="">-</button>
<button class="btn" value="1" data-num="">1</button>
<button class="btn" value="2" data-num="">2</button>
<button class="btn" value="3" data-num="">3</button>
<button id="action" class="btn" value="+" data-ops="">+</button>
<button id="zero" class="btn" value="0" data-num="">0</button>
<button id="decimal" class="btn" value="." data-num="">.</button>
<button id="action" class="btn" value="=" data-ops="">=</button>
2023-10-03 15:37:18 -04:00
</div>
2023-10-12 21:41:17 -04:00
</div>
<div class="footer">
<p>Created by <a href="http://smig.tech">Smig.Tech</a> | Calculator project from The Odin Project</p>
</div>
<script src="js/script.js"></script>
2023-10-03 15:37:18 -04:00
</body>
2023-10-12 21:41:17 -04:00
</html>