You have a page with 3 paragraphs. How would you assign the second paragraph the following text: "Working hard works". Explaine, please! document.getElementByTagName('p').value = "Working hard...



You have a page with 3 paragraphs. How would you assign the second paragraph the following text: "Working hard works". Explaine, please!




























document.getElementByTagName('p').value = "Working hard works.";





document.getElementsByTagName('p')[1].innerHTML = "Working hard works.";





document.getElementsByTagName('p').innerHTML = "Working hard works.";





document.getElementsByTagName('p')[2].innerHTML = "Working hard works.";





Jun 09, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here