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
1 ответ
+ 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.