+ 1
// Button creation starts... let countjumps = 0; function count() { countjumps += 1; console.log(countjumps )
whats errors on that code? as the button not work
1 Answer
+ 7
đPlease DO NOT PUT CODE IN THE TITLE. It gets cut off and we can't read it.
đRather LINK YOUR CODE. Go to Code section, click +, select the programming language, insert your code, save. Come back to this thread, click +, Insert Code, sort for My Code Bits, select your code.
đThe closing } is missing. You need to attach the function to the button.
đPlease TAG THE RELEVANT PROGRAMMING LANGUAGE, e.g. "web" or "javascript", not "f"