The ability to manipulate the DOM is sometimes crucial when it comes to working with apps powered by WebAssembly. In this lesson, we will see how we can utilize Go's
syscall/js module to interact with the DOM by porting a sample JS code snippet to Go.
[0:15] Then, we can create a new H1 header element by doing document.Call("createElement"), then pass in the parameter h1. We can then set the innerText property of the header element to This is H1. Finally, we can append the H1 note to the body of the DOM.