Skip to content

Update calculator app #81

Open
adao74 wants to merge 3 commits intoAustinCodingAcademy:masterfrom
adao74:master
Open

Update calculator app #81
adao74 wants to merge 3 commits intoAustinCodingAcademy:masterfrom
adao74:master

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