Ask coding questions

← Back to all posts
So I put linked my javascript to the html, but it showing an error.
KPKri (0)

I had link my javascript to the HTML, but when I click the buttons, it is showing an error, what should I do. I have linked the repl that is having a problem. I click the button and this is what it is showing
SyntaxError: Unexpected number
at /script.js:91:28
ReferenceError: (Name of function) is not defined
at HTMLButtonElement.onclick (/:71:61)

FIY:
I had made this code in typing.com in the coding course. You can do this too

Comments
hotnewtop
KPKri (0)

What do I need to fix?
I must have made an error while copying it to this repl.

Coder100 (18208)

you need to first fix your js lol