Created
September 30, 2020 15:57
-
-
Save peterayeniofficial/40a9274fc957ee80457e43ecd90f3ad8 to your computer and use it in GitHub Desktop.
Basic Hello World
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<body> | |
<div id="root"></div> | |
</body> | |
<script type="module"> | |
// Select the Div with an ID of 'root' | |
const rootDiv = document.getElementById("root") | |
// add 'Hello World' text to it | |
rootDiv.textContent = "Hello World" | |
</script> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment