Last active
March 14, 2017 19:22
-
-
Save eduard-tkv/20574317506b33daa34fdb3da40fef63 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 class="no-js" lang=""> | |
<head> | |
<meta charset="utf-8"> | |
<title>ReactJS Chapter 1</title> | |
<link rel="stylesheet" href="css/bootstrap.min.css"> | |
<script type="text/javascript" src="js/react.min.js"></script> | |
<script type="text/javascript" src="js/react-dom.min.js"></script> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/babel-core/5.8.23/browser.min.js"></script> | |
</head> | |
<body> | |
<!--[if lt IE 8]> | |
<p class="browserupgrade">You are using an | |
<strong>outdated</strong> browser. | |
Please <a href="http://browsehappy.com/">upgrade your | |
browser</a> to improve your experience.</p> | |
<![endif]--> | |
<!-- Add your site or application content here --> | |
<div id="hello"></div> | |
<script type="text/babel"> | |
ReactDOM.render( | |
<h1>Hello, world!</h1>, | |
document.getElementById('hello') | |
); | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment