Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
hmzi67 committed Nov 23, 2023
1 parent 4fc080c commit b167c10
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 18 deletions.
9 changes: 5 additions & 4 deletions Calculator/css/style.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
body {
width: 100%;
height: 700px;
width: 99%;
height: 643px;
display: flex;
justify-content: center;
align-items: center;
Expand All @@ -20,6 +20,7 @@ body {
.calculator:hover {
box-shadow: 0px 3px 15px rgba(0, 0, 0, 0.5);
}

.inputText {
background-color: rgba(117, 6, 6, 0);
color: rgb(0, 0, 0);
Expand Down Expand Up @@ -86,6 +87,8 @@ footer {
top: 600px;
right: 10px;
color: white;
bottom: 0;
position: fixed;
}
a {
color: white;
Expand All @@ -100,9 +103,7 @@ a:hover {
footer {
color: #000000;
text-align: end;
position: fixed;
bottom: 0;
width: 100%;
}
.link {
color: black !important;
Expand Down
15 changes: 1 addition & 14 deletions Calculator/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,24 +10,15 @@
</head>

<body>
<div class="container-fluid">

<div class="calculator">
<div class="">
<input class="inputText" type="text" id="#" disabled />
<input class="answer" type="text" id="answer" placeholder="0" disabled />

</div>

<hr style=" border: 1px solid black;">

<div>
<button class="btn-white btn-gray" id="btn" value="all clear">AC</button>
<button class="btn-white btn-gray" id="btn">C</button>
<button class="btn-white btn-gray" id="btn">%</button>
<button class="btn-white btn-gray operator" id="divide" value="/">/</button>
</div>

<div>
<button class="btn-white" id="btn">7</button>
<button class="btn-white" id="btn">8</button>
<button class="btn-white" id="btn">9</button>
Expand All @@ -46,11 +37,7 @@
<button class="btn-white btn-lg" id="btn">0</button>
<button class="btn-white decimal" id="btn">.</button>
<button class="btn-white btn-gray operator equal-sign" id="#">=</button>
</div>
</div>
</div>


<footer>
<p>&copy; 2023 Calculator by <a class="link" href="https://github.com/hmzi67">Hamza Waheed</a>. All Rights Reserved.</p>
</footer>
Expand Down

0 comments on commit b167c10

Please sign in to comment.