B
B
BIGO232022-03-30 15:14:00
HTML
BIGO23, 2022-03-30 15:14:00

JS + localStorage how to add fields?

Good afternoon. There is such a script
https://codepen.io/olayinkaos/pen/vxMdvd
I can't figure out how to add another input type

<input id="date" type="date">
<input id="time" type="time">


And so that they are added when the button is clicked

Answer the question

In order to leave comments, you need to log in

1 answer(s)
B
Beliyadm, 2022-03-30
@BIGO23

Well, by analogy, add a new element list += " " to the listItems function,

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question