-
Notifications
You must be signed in to change notification settings - Fork 15
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
Add/Subtract function works, CSS styles applied #11
base: master
Are you sure you want to change the base?
Conversation
|
||
<style> | ||
.title { |
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.
Solid css work here!
@@ -17,47 +58,55 @@ | |||
// hint: these are strings | |||
var numberOne = document.forms.inputs.numberOne.value; | |||
var numberTwo = document.forms.inputs.numberTwo.value; | |||
document.forms.inputs.result.value = numberOne + numberTwo; | |||
document.forms.inputs.result.value = parseInt(numberOne) + parseInt(numberTwo); |
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.
Nice work. The JS all looks correct.
</form> | ||
|
||
|
||
<span class="space"></span> |
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 looks right on point. Nice work.
No description provided.