Question: Mobile Web-Based Application Development ------------------------------------------------------ Choose the best option ------------------------------------ Questions 1 HTML h3 id = header > Quiz Header /h3> Quiz Questions section >

Mobile Web-Based Application Development

------------------------------------------------------

Choose the best option

------------------------------------

Mobile Web-Based Application Development ------------------------------------------------------ Choose the best option ------------------------------------ Questions 1

Questions 1 HTML h3 id = "header" > Quiz Header /h3> Quiz Questions section > Multiple Choice section> p>Q1

p>Q2Q3

What is the correct call to update the all paragraphs tags to bold using the tag name as reference? a) nodeList = document.getElementsById("p"); for (let x of nodeList) {x.style.font Weight = "bold"; } b) nodeList = document.querySelector ("p"); for (let x of nodeList) x.style.font Weight = "bold"; } c) nodeList = document.getElementsByTagName ("p "); for (let x of nodeList) x.style.fontWeight = "bold"; } d) nodeList = document. getElementsByName ("p"); for (let x of nodeList) {x.style.font Weight = "bold"; } Questions 2 HTML h 3 id = "header" > Quiz Header h 3> p>Q1Q2Q3What is the correct call to update the h3> to the color purple using the id as the reference? a) document.getElementById("header").style.color = "purple"; b) document.querySelectorAl1("h3").style.color = "purple"; c) document.querySelector(" h3 "").style.color = "purple"; d) document.getElementsByTagName("h3").style.color = "purple"; Question 3 HTML h3 id = "header" > Quiz Header /h3> section>Quiz Questions > Multiple Choice p>Q1Q2What is the correct call to get the 2nd Ssection> and append " For Exam " into the > ? a) document.querySelector("section:nth(2)").innerHTML += " For Exam"; b) document.querySelector("section:nth-child(2)").innerText += " For Exam"; c) document.querySelector("section:nth-child(2)").innerHTML += "For Exam"; d) document.querySelector("section:nth (2) ) .innerText += " For Exam

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!