Unable to create node as i want plzzz hlp (in JS) | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Unable to create node as i want plzzz hlp (in JS)

I tried to make a sudoku table but it does not works plzzz hlp https://code.sololearn.com/WnJQX1fQT47t/?ref=app

5th Jul 2020, 9:29 AM
Abhay
Abhay - avatar
1 Answer
+ 5
You need to create the element multiple times, not create it once and add it multiple times. Create the elements inside the loop and it should work fine. https://code.sololearn.com/WoQrOw3GeOya/?ref=app
5th Jul 2020, 9:43 AM
Aymane Boukrouh
Aymane Boukrouh - avatar