// Button creation starts... let countjumps = 0; function count() { countjumps += 1; console.log(countjumps ) | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 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 Resposta
+ 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