I have tried to run this code in a web browser, however it displays a blank page. Can you explain why the html does not render when opened in a web browser? Where am I going wrong? thanks
<DOCTYPE! html>
<html>
<head>
<meta charset="UTF-8">
<script src="https://cdnjs.cloudflare.com/ajax/libs/react/0.13.3/react.js"></script> <!-- react library -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/react/0.13.3/JSXTransformer.js"></script><!-- special type of javascript syntax-->
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script><!-- jquery library -->
<title>My react page</title>
</head>
<body>
<div id="content"></div>
<script type="text/jsx">
var myComponent = React.createClass({
//component classes must have a render function that returns some HTML
render: function() {
return(
<h2>This is a core component</h2>
);
}
});
React.render(<myComponent />, document.getElementById('content'));
</script>
</body>
</html>