Created
April 10, 2020 14:04
-
-
Save francodalessio/cc7de13109fac4bd3e6a30485ac050d3 to your computer and use it in GitHub Desktop.
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Hello World</title> | |
<meta charset="UTF-8" /> | |
</head> | |
<body> | |
<div id="root"></div> | |
<script type="text/javascript"> | |
const rootElement = document.getElementById("root"); | |
const element = document.createElement("div"); | |
element.textContent = "Hello World"; | |
rootElement.appendChild(element); | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment