Pls how do I add this two functions I declared and store into another function(a third function) so I will be able to call the addition of the result of both functions using the third function? That is the code above! Answer Change your functions so they return the result instead of putting it in innerHTML. Then you can have
Tag: addition
Problem with script that is suppose to add two numbers
I wrote up a code designed to add two numbers and it keeps returning a NaN when I ask for an answer, I am fairly new but would like to know why this code in particular does not work so I can make sure I don’t make the mistake again. HTML JavaScript So the first condition works and sends an