+ 10

Hi everyone! Help me please with my code)

When I click in 0 why it doesn't return me alert! https://code.sololearn.com/WA14A10A151A Thank you!

14th May 2021, 8:46 AM
Սոֆի
21 Antworten
+ 6
JaScript Thank you soooo much for helping☺☺☺😁
15th May 2021, 4:57 AM
Սոֆի
+ 5
JaScript ok I'll try😁 thank you
14th May 2021, 10:12 AM
Սոֆի
+ 5
14th May 2021, 12:12 PM
Սոֆի
+ 4
For every rect one button?
14th May 2021, 8:55 AM
Սոֆի
+ 4
JaScript you mean addEventListeners?
14th May 2021, 9:01 AM
Սոֆի
+ 4
JaScript can you say me how pls?
14th May 2021, 9:04 AM
Սոֆի
+ 4
I must write it before matrix?
14th May 2021, 9:05 AM
Սոֆի
+ 4
Runtime Terror why !matrix?
14th May 2021, 11:56 AM
Սոֆի
+ 4
Oh ok😊
14th May 2021, 12:00 PM
Սոֆի
+ 4
Runtime Terror thank you☺
14th May 2021, 12:01 PM
Սոֆի
+ 4
Sofi (DM Closed❌) when you click in first row (0) it will return you alert and different for each field. This user interface is also a responsive solution. You can see it when you rotate a mobile device. https://code.sololearn.com/Wa4qv4z9Q0K0/?ref=app
15th May 2021, 4:56 AM
JaScript
JaScript - avatar
+ 3
You need to implement a listener for your array items.
14th May 2021, 8:57 AM
JaScript
JaScript - avatar
+ 3
Awesome!
16th May 2021, 12:41 AM
Henry P🇺🇬 🇺🇸
Henry P🇺🇬 🇺🇸 - avatar
+ 2
You could use the jQuery. https://code.jquery.com/jquery-3.6.0.js
14th May 2021, 12:09 PM
DerickXIGamer
+ 2
ODLNT tnx☺
16th May 2021, 5:18 AM
Սոֆի
+ 1
i think u need create a button on html or something like that :)
14th May 2021, 8:54 AM
VuxxLong
VuxxLong - avatar
+ 1
An alternative solution using p5.js mouseClicked() event. https://code.sololearn.com/W9A5a4a21A25
16th May 2021, 1:48 AM
ODLNT
ODLNT - avatar