+ 8

Discuss Module 7 Quiz 1/6 Fill in the blanks to change the content of all paragraph tags of the page to "SoloLearn". var arr =

27th Jan 2017, 5:23 AM
VishalYumnam
VishalYumnam - avatar
28 Antworten
+ 12
var arr = document.getElementsByTagName("p"); for(var x=0; x<arr.length; x++){ arr[x].innerHTML="SoloLearn"; }
16th Jun 2017, 3:31 PM
Alex Ihnatsiuk
Alex Ihnatsiuk - avatar
+ 5
<script> var d = document.getElementById ("p2 "); d.style.color ="red"; </script>
24th Jan 2018, 9:52 AM
Aravind
+ 2
var arr = document.getElementsByTagName("p"); for(var x=0; x<arr.length; x++) { arr[x].innerHTML="SoloLearn"; }
1st Aug 2020, 10:41 AM
said hammane
said hammane - avatar
+ 1
<script> var d = document. getElementById ("p2 "); d.style .color ="red"; </script>
25th Jun 2018, 11:53 AM
sapram charanteja
sapram charanteja - avatar
+ 1
fill in the blanks to alert a massage when the button is clicked. ANSWER:- <button onclick ="func()"> Click Here </button> _msg() { alert("Hi!"); } </script > ANSWER:- onclick function
11th Jun 2020, 6:15 PM
Shailesh Kumar meena
Shailesh Kumar meena - avatar
+ 1
document. p x
8th Jan 2021, 8:24 AM
Vijayanathan Menakan
Vijayanathan Menakan - avatar
0
<script> var d = document. getElementById ("p2 "); d.style .color ="red"; </script>
24th Mar 2018, 8:16 AM
Mahnoor Shahzad
Mahnoor Shahzad - avatar
0
<script> var d = document.getElementById ("p2 "); d.style.color ="red"; </script>
16th Sep 2019, 9:45 AM
ISINGIZWE GASANA Aline
ISINGIZWE GASANA Aline - avatar
0
var arr = document.getElementsByTagName("p"); for(var x=0; x<arr.length; x++){ arr[x].innerHTML="SoloLearn"; }
6th Nov 2019, 12:03 AM
Kimver Iman
Kimver Iman - avatar
0
var arr = document.getElementsByTagName("p"); for(var x=0; x<arr.length; x++){ arr[x].innerHTML="SoloLearn"; }
10th Feb 2020, 7:52 AM
Pranjal Singh
Pranjal Singh - avatar
0
var arr = document. getElementsByTagName("p "); for(var x=0; x<arr.length; x++) { arr[x].innerHTML="SoloLearn"; }
29th Apr 2020, 3:45 PM
Druide LEKOGHO
Druide LEKOGHO - avatar
0
script> var d = document. getElementById("p2"); d.style.color="red"; </script>
29th Apr 2020, 3:53 PM
Druide LEKOGHO
Druide LEKOGHO - avatar
0
darg and drop from the options below to change the color of the paragraph with id="p2" to red. ANSWER:- <script> var d = document.getElementById ("p2 "); d.style.color ="red"; </script>
11th Jun 2020, 5:59 PM
Shailesh Kumar meena
Shailesh Kumar meena - avatar
0
Drag and drop from the options below to change the color of the paragraph with id="p2" to red. <script> var d = document. getElementById("p2"); d.style.color="red"; </script>
2nd Jul 2020, 7:48 PM
Rustamjon Kosimov
Rustamjon Kosimov - avatar
0
Fill in the blanks to change the content of the paragraphs with id="demo" to "<b>Hi</b>" maintaining the HTML markup. $(function() { $("#demo").html("<b>Hi</b>"); });
21st Nov 2020, 12:25 PM
Jason Chew
Jason Chew - avatar
0
Dom & Events Selecting Elements Fill in the blanks to select the element with id="text" and change its content to "Hi". var ob = document.getElementById("text"); ob.innerHTML= "Hi";
24th Nov 2020, 2:12 PM
Denise De Gomes Prego
0
Fill in the blanks to select all <p> elements, that are children of the element with id="demo". $ ("#demo p")
8th Mar 2021, 5:49 PM
Mostafa Alafif
Mostafa Alafif - avatar
0
var arr = document . getElementsByTagName(" p "); for(var x=0; x<arr.length; x++) { arr[ x ].innerHTML="SoloLearn"; }
9th Aug 2021, 2:40 PM
Owethu Sotomela
Owethu Sotomela - avatar
0
document p x
11th Aug 2021, 3:51 PM
W.G.A.C.Nandasena
W.G.A.C.Nandasena - avatar
0
var arr = document.getElementsByTagName("p"); for(var x=0; x<arr.length; x++){ arr[x].innerHTML="SoloLearn"; }
7th Dec 2021, 11:29 AM
Md. Rakibul Islam
Md. Rakibul Islam - avatar