Комментарии:
thank you for this clear, easy to follow tutorial! <3
ОтветитьGreat!
ОтветитьNo joke. You have explained very greatly, respect.
There's a suggestion, my code wasn't working properly when i do "0." + "3"
It'd give a .3 answer and then add numbers like strings like .3 + 3 = .33
I just had to convert a,b, operator to empty arrays [ ] and it worked fine
Thanks :)
What is your Facebook account?
ОтветитьJust a clean up idea for you. When coding the functionality of the +/- button, you can just multiply the value by -1. Does the same thing without the extra coding.
else if (value === "+/-") {
if (display.value != "" && display.value != "0") {
display.value = display.value * -1;
}
}
Removes like two lines of unnecessary code and cleans it up a bit.
your videos are really helping
Ответитьplease do the same project in different languages like java, javascript, react etc. so as to understand the difference.
Ответить