diff options
author | Saumit Dinesan <justsaumit@protonmail.com> | 2023-09-13 17:53:01 +0530 |
---|---|---|
committer | Saumit Dinesan <justsaumit@protonmail.com> | 2023-09-13 17:53:01 +0530 |
commit | c0187c7306f916417c96e7ca15f65b61fca94687 (patch) | |
tree | 7c57b4653b92d4eb5fbeb8bcb90103e35aada51d | |
parent | 4e28020e236a5778eb7b1033514fd277e013841c (diff) |
-rw-r--r-- | index.html | 38 | ||||
-rw-r--r-- | style.css | 11 |
2 files changed, 49 insertions, 0 deletions
diff --git a/index.html b/index.html new file mode 100644 index 0000000..329ed78 --- /dev/null +++ b/index.html @@ -0,0 +1,38 @@ +<!DOCTYPE html> +<html lang="en"> +<head> + <meta charset="UTF-8"> + <meta http-equiv="X-UA-Compatible"> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + <link rel="stylesheet" href="style.css">i + <title>Web Calculator</title> +</head> +<body> + <div class="container"> + <div class="display" style="color: white;"> + 0 + </div> + <div class="buttons"> + <button class="button-grey">C</button> + <button class="button-grey">+/</button> + <button class="button-grey">%</button> + <button class="button-orange">/</button> + <button class="button-darkgrey">7</button> + <button class="button-darkgrey">8</button> + <button class="button-darkgrey">9</button> + <button class="button-orange">*</button> + <button class="button-darkgrey">4</button> + <button class="button-darkgrey">5</button> + <button class="button-darkgrey">6</button> + <button class="button-orange">-</button> + <button class="button-darkgrey">1</button> + <button class="button-darkgrey">2</button> + <button class="button-darkgrey">3</button> + <button class="button-orange">+</button> + <button class="button-darkgrey">0</button> + <button class="button-darkgrey">.</button> + <button class="button-orange">=</button> + </div> + </div> +</body> +</html>
\ No newline at end of file diff --git a/style.css b/style.css new file mode 100644 index 0000000..473ecc6 --- /dev/null +++ b/style.css @@ -0,0 +1,11 @@ +{ + margin: 0; + padding: 0; + box-sizing: border-box; + font-familt: Arial, Helvetica, sans-serif; +} +html, body{ + background-color: black; + min-width: 100%; + width: 100%; +}
\ No newline at end of file |