Which code segment should you use at line 08?

Posted by: Pdfprep Category: 98-382 Tags: , ,

You are designing a web page with a script that must dynamically change the content of a paragraph element to display the value returned by the function randomQuote().

You have created the following code. Line numbers are included for reference only.

Which code segment should you use at line 08?
A . document.getElementById("tester").value = randomQuote();
B . document.getElementById("tester").title = randomQuote();
C . document.getElementById("tester").innerHTML = randomQuote();
D . document.getElementById("tester").script = randomQuote();

Answer: C

Explanation:

Explanation: https://www.w3schools.com/html/html_scripts.asp

Leave a Reply

Your email address will not be published.