I'm a new js learner. I'm trying to create a javascript calculator. I can't get my clear button or my +/- button to work. Code is below. Any suggestions?
JS & HTML are below.
function appendMe(val)
{
//alert(val);
document.getElementById("disp").value+=val;
}
function clearAll()
{...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.