Add a Shadow DOM to a div that will display "Hello, World!" instead of its initial content.
div
<div id="Div1">intial content</div> <script> var shadow = Div1.attachShadow( { mode: 'open' } ) shadow.innerHTML = "Hello, World!" </script>