0

My input firstname in class Input is not display in browser. Thanks you.

Display input firstname in browser. https://code.sololearn.com/WiiQV81HFk28/?ref=app

15th Feb 2021, 4:58 AM
Malick Diagne
Malick Diagne - avatar
1 Resposta
+ 1
1) You did not add adding Element/Node objects (inputs) to the document/page. 2) <input> tag is self-closing (does not need or even support), so "innerHTML" and "innerText" attributes are useless. If you want text input (not "button", "radio" or "checkbox") to display some text, use the "value" attribute.
15th Feb 2021, 5:17 AM
#0009e7 [get]
#0009e7 [get] - avatar