+ 9
I am looking for a better way of doing the JacaScript part.
3 RĂ©ponses
+ 5
something like this?
https://code.sololearn.com/WWxIU0UN9Fr3/?ref=app
+ 4
one less loop
https://code.sololearn.com/Wf0tBA5OfQfP/?ref=app
+ 2
Another Alternative base on Gordon first edit. Used template literals and the repeat() string method to create table body.
https://code.sololearn.com/W9KjJzSl4sck/#js