Hello World in JS
Loading "Hello World in JS"
Run locally for transcripts
๐จโ๐ผ It's important to have a basic understanding of how to generate and interact
with DOM nodes using JavaScript because it will help you understand how React
works under the hood a little better. So in this exercise we're actually not
going to use React at all. Instead we're going to use JavaScript to create a
div
DOM node with the text "Hello World" and insert that DOM node into the
document.๐จโ๐ผ Once you're finished, open up the
browser devtools so
you can check the DOM is what you expect it to be.
๐ก Tip: you may find it useful to open the playground in a separate tab.