Text Text p class='paral'>Some Text Here 1 Some Text Here 2 Sone Text Here 2 Some Text Here 3 p class='para2'>Some Text Here 4 o class='paral'>Some Text Here 5 Write the necessary JavaScript/DOM Code...


Question 11<br>Question 2 JavaScript: Given the following HTML Code:<br>9 id='asg'>Text Text</p><br><div class
p class='paral'>Some Text Here 1


Some Text Here 2


Sone Text Here 2


Some Text Here 3


p class='para2'>Some Text Here 4


o class='paral'>Some Text Here 5






Write the necessary JavaScript/DOM Code for each part: 1. Replace the text inside the paragraph whose id=msg with Welcome ITCS333. You must find the element by id approach. 2. Change the text color to red for all paragraphs whose class = para2 under div whose class = section. Your code must assume that the number of matches is unknown. You must find elements by query approach. 3. Underline all paragraphs. You must use find elements by tag name approach. 4. Make the borders of all input elements whose class = myInput to 10px solid border of red color. Your code must assume that the number of matches is unknown. You must find the elements by class approach. %3! You should answer each part separately. Number your answer. Use the editor to format your answer "/>
Extracted text: Question 11 Question 2 JavaScript: Given the following HTML Code: 9 id='asg'>Text Text



p class='paral'>Some Text Here 1


Some Text Here 2


Sone Text Here 2


Some Text Here 3



p class='para2'>Some Text Here 4


o class='paral'>Some Text Here 5






Write the necessary JavaScript/DOM Code for each part: 1. Replace the text inside the paragraph whose id=msg with Welcome ITCS333. You must find the element by id approach. 2. Change the text color to red for all paragraphs whose class = para2 under div whose class = section. Your code must assume that the number of matches is unknown. You must find elements by query approach. 3. Underline all paragraphs. You must use find elements by tag name approach. 4. Make the borders of all input elements whose class = myInput to 10px solid border of red color. Your code must assume that the number of matches is unknown. You must find the elements by class approach. %3! You should answer each part separately. Number your answer. Use the editor to format your answer
Jun 05, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here