Skip to content
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

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

adao74
Copy link

@adao74 adao74 commented Apr 12, 2024

No description provided.

</form>
<div id="result"></div>
<main>
<div id="result">Look right here when you're done!</div>

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">

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">

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) => {

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);
}

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!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants