0

How do I make the button alphabet work.

the code error show the letter function is not defined .can someone send my the edited code as shown below: https://code.sololearn.com/WyJoZ6wKcZ15/?ref=app

22nd Jul 2018, 10:41 AM
Gladwyn Tay
Gladwyn Tay - avatar
4 odpowiedzi
+ 2
i know about the error. the letter is the button of all alphabet . so what should i do?
22nd Jul 2018, 12:22 PM
Gladwyn Tay
Gladwyn Tay - avatar
+ 1
Hi, I think the problem is on line 8: check(Letter); What means Letter?? It is not declared. Hope it helps you
22nd Jul 2018, 11:42 AM
Guillem Padilla
Guillem Padilla - avatar
+ 1
I don't understand why you need to call check(Letter) on start function, because Letter is nothing on start function
22nd Jul 2018, 12:58 PM
Guillem Padilla
Guillem Padilla - avatar
+ 1
thank you anyway . i try to use target.id or event.target instead .
22nd Jul 2018, 1:28 PM
Gladwyn Tay
Gladwyn Tay - avatar