0

No funciona y no sé porque. It dont work and i dont now whh

https://code.sololearn.com/WBmC441DnnSX/?ref=app

27th Aug 2019, 8:33 PM
PHG
PHG - avatar
3 odpowiedzi
+ 3
At line 24; It works when I changed `n1.style.backgroung` => `n1.style.background` (Edit) I think you need to give different name for the functions, I just realised you have two `cambiarColor` functions and mapped each as a different event handler for the button : )
27th Aug 2019, 9:46 PM
Ipang
+ 3
Muchas gracias a los dos thank you so much
28th Aug 2019, 9:23 AM
PHG
PHG - avatar