How to creat a form using JavaScript | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How to creat a form using JavaScript

How to creat a form using JavaScript

3rd Jun 2020, 7:58 AM
Mohammed Kamil Jan
Mohammed Kamil Jan - avatar
1 Answer
0
Mohammed kamil jan hi, Once you know how to set your form in html, to do the same in JavaScript you'll have to understand what is the DOM and then use methods to set your elements, attributes or style... You could read some documentation about: DOM .create element() .appendChild() . innerHTML .setAttribute() among others that could help you set your form. https://developer.mozilla.org/en-US/docs/Web/API/Document_Object_Model https://www.tutorialrepublic.com/javascript-tutorial/javascript-dom-nodes.php
3rd Jun 2020, 9:27 AM
EmmanueLZ.
EmmanueLZ. - avatar