-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit d2170dc
Showing
4 changed files
with
64 additions
and
0 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<link rel="icon" type="image/svg+xml" href="./vite.svg" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<title>Calculator</title> | ||
<link rel="stylesheet" href="style.scss" /> | ||
<script type="module" crossorigin src="./assets/index-Dru5ejaU.js"></script> | ||
<link rel="stylesheet" crossorigin href="./assets/index-hs0m3d77.css"> | ||
</head> | ||
<body> | ||
<div class="dark-mode-switch"> | ||
<div class="toggle"> | ||
<div class="toggle-handle"></div> | ||
</div> | ||
</div> | ||
<div class="calculator"> | ||
<input | ||
type="text" | ||
class="calculator__display" | ||
placeholder="0" | ||
id="display" | ||
value="" | ||
; | ||
/> | ||
<div class="calculator__buttons"> | ||
<button class="calculator__button calculator__button--operator"> | ||
AC</button | ||
><button class="calculator__button calculator__button--operator"> | ||
DEL</button | ||
><button class="calculator__button calculator__button--operator"> | ||
^</button | ||
><button class="calculator__button calculator__button--operator"> | ||
/</button | ||
><button class="calculator__button">7</button | ||
><button class="calculator__button">8</button | ||
><button class="calculator__button">9</button | ||
><button class="calculator__button calculator__button--operator"> | ||
*</button | ||
><button class="calculator__button">4</button | ||
><button class="calculator__button">5</button | ||
><button class="calculator__button">6</button | ||
><button class="calculator__button calculator__button--operator"> | ||
-</button | ||
><button class="calculator__button">1</button | ||
><button class="calculator__button">2</button | ||
><button class="calculator__button">3</button | ||
><button class="calculator__button calculator__button--operator"> | ||
+</button | ||
><button class="calculator__button calculator__button--span-two"> | ||
0</button | ||
><button class="calculator__button">.</button | ||
><button class="calculator__button calculator__button--operator"> | ||
= | ||
</button> | ||
</div> | ||
</div> | ||
</body> | ||
</html> |