-
Notifications
You must be signed in to change notification settings - Fork 253
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update calculator app #81
base: master
Are you sure you want to change the base?
Conversation
</form> | ||
<div id="result"></div> | ||
<main> | ||
<div id="result">Look right here when you're done!</div> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This can also use a section tag.
<main> | ||
<div id="result">Look right here when you're done!</div> | ||
<form class="calculator"> | ||
<div class="number-container"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These can be section tags instead of divs.
<label for="second-number">Second Number:</label> | ||
<input type="number" id="second-Number" name="second-Number" placeholder="type the second number" onkeyup="saveSecondNumber(this.value)"> | ||
</div> | ||
<div class="operation-container"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Section could be great here! Also, do we use operation container on any other element in this document? It might be better to implement an ID selector.
} | ||
|
||
const divide = null | ||
const divide = (numA, numB) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Excellent execution of logic to perform these operations!
padding: 10pt; | ||
background-color: rgb(184, 235, 231); | ||
} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great use of grid here!!
No description provided.