From dbe4938ad0ae398eed0e7307d9056ec1c9d1df0f Mon Sep 17 00:00:00 2001 From: Kushagra J <> Date: Tue, 7 Nov 2023 22:46:19 +0530 Subject: [PATCH] removed percentage, because it was out of scope of this project --- css/main.css | 4 ++++ index.html | 1 - script/script.js | 1 - 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/css/main.css b/css/main.css index 7c39842..8f98080 100644 --- a/css/main.css +++ b/css/main.css @@ -100,6 +100,10 @@ main { color: var(--highlight-color); } +#clear{ + flex-grow: 1 +} + #pointer{ grid-column: span 2; } diff --git a/index.html b/index.html index 955199a..34fdbc1 100644 --- a/index.html +++ b/index.html @@ -38,7 +38,6 @@

A simple calculator implemented in javascript

-
diff --git a/script/script.js b/script/script.js index 293913a..c48a558 100644 --- a/script/script.js +++ b/script/script.js @@ -3,7 +3,6 @@ let view = document.getElementById('view'); let equal = document.getElementById('equal'); let clear = document.getElementById('clear'); -let percentage = document.getElementById('percentage') let numbers = document.querySelectorAll('.num'); let operations = document.querySelectorAll('.operator');