I have the following structure to display the famous Hello World with reactjs:
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title></title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/react/15.3.2/react.min.js"></script><scriptsrc="https://cdnjs.cloudflare.com/ajax/libs/react/15.3.2/react-dom.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/babel-core/6.1.19/browser.min.js"></script></head><body><divid="root"></div>
<script type="text/babel">
ReactDOM.render(
<h1>Hello World</h1>,
document.getElementById('root')
);
</script>
</body>
</html>
I'm using the latest version of xampp and using netbeans as IDE with the php plugin. When I run the project the blank page appears in the browser. Is there an error in the code?
This error appeared in the console (now that I saw it):