mirror of
https://gitea.smigz.com/smiggiddy/odin-codeprojects.git
synced 2024-12-27 06:40:42 -05:00
49 lines
2.2 KiB
HTML
49 lines
2.2 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
|
|
<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>
|
|
<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">
|
|
<link rel="stylesheet" href="css/style.css">
|
|
<title>Calculator</title>
|
|
</head>
|
|
|
|
<body>
|
|
<div class="container">
|
|
<div class="display">
|
|
0
|
|
</div>
|
|
<div class="buttons">
|
|
<button id="clear" class="btn" value="cls" data-ops="">A/C</button>
|
|
<button id="action" class="btn" value="+/-" data-ops="">+/-</button>
|
|
<button id="action" class="btn" value="%" data-ops="">%</button>
|
|
<button id="action" class="btn" value="/" data-ops="">÷</button>
|
|
<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>
|
|
</div>
|
|
</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>
|
|
</body>
|
|
|
|
</html>
|