Manipulating HTML with JavaScript

Report a typo

What is the correct JavaScript syntax to change the content of the following HTML elements:

<div id="demo1">This is the first demonstration.</div><div id="demo2">This is the second demonstration.</div>
Select one option from the list
___

Create a free account to access the full topic