JavaScript quiz

Ace your homework & exams now with Quizwiz!

2. What is the correct JavaScript syntax to change the content of the HTML element below? <p id="demo">This is a demonstration.</p>

document.getElementById("demo").innerHTML = "Hello World!";


Related study sets

ACG3103 Intermediate Accounting Ch. 4

View Set

BUSMRH 3200 Exam 2 Tophat questions & Exam review

View Set

Chapter 8: Organizational Culture, Structure, & Design

View Set

Nurs 211: Chapter 9: Teaching and Counseling

View Set

Concepts of Emergency and trauma nursing - chapter 8

View Set