On paper, specify JavaScript assignment statements that would embed the following lines of text in a page

Question:

On paper, specify JavaScript assignment statements that would embed the following lines of text in a page division named outputDiv. Then, verify that your statements work associating each statement with the ONCLICK attribute of a button.

The announcer screamed "Cubs win! Cubs win!"

The oath began as "I, 'state your name' swear to uphold..."

The oath began as "I, "state your name" swear to uphold..."

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: