I am working on a project and a small part of that project is creating a counter increases by one everytime a button is clicked. For example I have incuded a picture of a much simpler version of what I am doing. For some reason I can not get the code right so that every time you click the grey rectangle the text increases to one and then two and so on.
↧