I'm very new to JavaScript and React, I know that the "Sources” tab in chrome dev tools is supposed to let me look at my JavaScript files in the browser but they aren't. And I think this is why the program is not doing what it meant to.
index.html-
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Project One</title>
<link rel="stylesheet" href="./semantic-dist/semantic.css" />
<link rel="stylesheet" href="./style.css" />
<script src="vendor/babel-standalone.js"></script>
<script src="vendor/react.js"></script>
<script src="vendor/react-dom.js"></script>
</head>
<body>
<div class="main ui text container">
<h1 class="ui dividing centered header">Popular Products</h1>
<div id="content"></div>
</div>
<script src="./js/seed.js"></script>
<script type="text\babel" data-plugins= "transform-class-properties" src="./js/app.js"></script>
<!-- Delete the script tag below to get started. -->
</body>
</html>
app.js-
class ProductList extends React.Component {
render() {
return(
<div className = 'ui unstackable items'>
Hello Friend!, I am a basic React Component
</div>
);
}`enter code here`
}
ReactDOM.render(
<ProductList />,
document.getElementById('content')
);