There are other errors but this will let you at least see the effect on your screen (the correct version will select the class, if i am not mistaken right now you are looking for a non-existent key-pad tag)^^
I got my input to work but now my keys lined up on the left i wish i could show it to you but i’m in vs.code and I don’t how to get the link.
can anyone help.
If you are going to use VS Code to edit your project, I strongly suggest watching a few tutorials on the basics of Git and GitHub. This will allow you to post your code to GitHub and provide a link to us.
//If you press delete clear the inputs and update.
if(this.id==="clear") {
inputs=[""];
update();
}
When your page first loads, there is a “0” in the element with id=“display”. Why not set the html/text of this same element back to “0” when the AC button is clicked.
How can you set the html value of the element with id=“display” to 0? You already know how to do this, because another function you wrote does something similar.