0
Can you help me?
https://code.sololearn.com/WOVI52QYpBNi/?ref=app I would like to solve this so that I do not have to create dozens of buttons for a single function. My question makes more sense in the code.
4 ответов
+ 5
Make your show() function accepts a parameter. The argument is the instance.
the assignment should not be destructured from nothing, it should be the name property of the instance.
Here is a fix for you:
https://code.sololearn.com/Wxm3tnGN5vud/?ref=app
+ 2
Id is something uniqe but
You selected them with another id name in js.
+ 1
Use iterators for this type of function
0
Thank you!