kalkulator/static/index.html

49 lines
2.0 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html>
<html lang="pl">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Kalkulator</title>
<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=IBM+Plex+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap"
rel="stylesheet">
<!-- anime.js is a library for easy fancy animations with JavaScript -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/animejs/3.2.1/anime.min.js"></script>
<link rel="stylesheet" href="./assets/css/style.css">
<link rel="stylesheet" href="./assets/css/keyboard.css">
</head>
<body>
<div class="calculator">
<div class="display">
<div class="display-text"></div>
</div>
<button class="button">AC</button>
<button class="button">±</button>
<button class="button">%</button>
<button class="button operation">÷</button>
<button class="button">7</button>
<button class="button">8</button>
<button class="button">9</button>
<button class="button operation">×</button>
<button class="button">4</button>
<button class="button">5</button>
<button class="button">6</button>
<button class="button operation"></button>
<button class="button">1</button>
<button class="button">2</button>
<button class="button">3</button>
<button class="button operation">+</button>
<button class="button settings"><img src="./assets/img/settings.svg" alt="settings"></button>
<button class="button">0</button>
<button class="button">.</button>
<button class="button operation">=</button>
</div>
<script src="./assets/js/calculator-logic.js"></script>
</body>
</html>