+ 1

// Button creation starts... let countjumps = 0; function count() { countjumps += 1; console.log(countjumps )

whats errors on that code? as the button not work

26th Aug 2022, 9:33 PM
January Martine
January Martine - avatar
1 Antwort
+ 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"
26th Aug 2022, 10:06 PM
Lisa
Lisa - avatar