+ 2

JS _ how to take the easy way out on this code? Score _ keeper

Trying to make score keeper. I just got done creating elements for the name table (x), and inserting input inside the th(table) _ so we can type inside it for names. <- these things happen when you click on the + button. But now I need help printing the inputs inside the th. Maybe _ use the done button (function). So, when we click on "done", the inputs will be removed, and what's in the input will be printed on the th that the inputs are on. https://code.sololearn.com/WaFZt9uKxWO1/?ref=app

28th Sep 2019, 3:29 PM
Ginfio
Ginfio - avatar
1 Respuesta
+ 1
I said take the easy way out on this code, because, I could have made 100ds of inputs and th(table), and make 100s of onclick events. But there should be an easier way to do this. Like i did on creating Elements (x) th and input. ....
28th Sep 2019, 3:32 PM
Ginfio
Ginfio - avatar