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>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>Create a free account to access the full topic