我的react练习在浏览器上不显示
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Examples</title>
<link href="" rel="stylesheet">
<!DOCTYPE html><html>
<head>
<meta charset="utf-8" />
<title>React Tutorial</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/react/0.14.3/react.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/react/0.14.3/react-dom.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/babel-core/5.8.23/browser.min.js"></script>
</head>
<body>
<div id="container"></div>
<script type="text/babel">
var ClickEvent=React.createClass({
render:function(){
return (<div style={{color:'#000',fontSize:'40px'}}>
<button>点击事件绑定按钮</button><span>测试内容</span>
</div>);
}
});
var ChangeEvent=React.createClass({
getInitialState:function(){
return {
content:''
}
},
render:function(){
return (<div><input type="text" /><span>{this.state.content}</span></div>);
}
});
React.render(<ClickEvent></ClickEvent>,document.getElementById('container'));
</script>
</body>
</html>