Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

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

image text in transcribed

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Big Data And Hadoop Fundamentals Tools And Techniques For Data Driven Success

Authors: Mayank Bhushan

2nd Edition

9355516665, 978-9355516664

More Books

Students also viewed these Databases questions