Last active
April 10, 2020 14:17
-
-
Save francodalessio/874a61159dbab42b307392440334d78b 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 src="https://unpkg.com/react@16.12.0/umd/react.development.js"></script> | |
<script src="https://unpkg.com/react-dom@16.12.0/umd/react-dom.development.js"></script> | |
<script type="text/javascript"> | |
const rootElement = document.getElementById("root"); | |
const element = React.createElement("div", null, "Hello World"); | |
ReactDOM.render(element, rootElement); | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment