+ 2
module 7 quiz
why there is document in the first line of code? GIVEN CODE:- var arr = document . getElementsByTagName("p"); for(var x=0; x<arr.length; x++) { arr[x].innerHTML="SoloLearn"; } REQUEST :- please upvote the question
1 Odpowiedź
0
You are here to learn not for upvotes ,it is
var arr=document.getElementsByTagName("p")