+ 4
Java script purposes ?
so guys I am new on java script and I am learning it so guys tell me after using the java script selector to select elements what interesting things can I do infront of the selector for eg document.getElementById.innerHTML("which things can I input here or do that is very interesting)
4 Respuestas
+ 4
After selecting the elements , you can
1. change its properties.
2.get or change the value inside it.
3.create its child node.
4.delete its child node.
5.delete that element itself.
+ 4
here you go : https://www.w3schools.com/js/js_htmldom.asp
+ 4
The most important reason we select elements is changing its style properties.also we can append or remove a child to it,cgange it's inner text e.t.c
+ 3
thank you but I still need a link that can demonstrate the in a form of GUI