Skip to content

Commit

Permalink
removed percentage, because it was out of scope of this project
Browse files Browse the repository at this point in the history
  • Loading branch information
Kushagra J committed Nov 7, 2023
1 parent 51b3c8e commit dbe4938
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
4 changes: 4 additions & 0 deletions css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,10 @@ main {
color: var(--highlight-color);
}

#clear{
flex-grow: 1
}

#pointer{
grid-column: span 2;
}
Expand Down
1 change: 0 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ <h3>A simple calculator implemented in <span id="js">javascript</span></h3>
<button class="operator">/</button>
</div>
<div id="miscPad">
<button class="misc" id="percentage">%</button>
<button class="misc" id="clear">C</button>
<button class="misc" id="equal">=</button>
</div>
Expand Down
1 change: 0 additions & 1 deletion script/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');

Expand Down

0 comments on commit dbe4938

Please sign in to comment.