Clicking Run just makes the icon spin forever


#1

I am currently on on step 12 of the ReactJS Part I tutorial. When I click the Run button, the icon just spins forever on the Run button.

Link: https://www.codecademy.com/courses/react-101/lessons/react-jsx-intro/exercises/reactdom-render-ii

Here's my code:

app.js

var React = require('react');
var ReactDOM = require('react-dom');

// Write code here:
ReactDOM.render(<h1>Render me!</h1>, document.getElementById('container'));

index.html

<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="utf-8">
	<link rel="stylesheet" href="/styles.css">
	<title>Learn ReactJS</title>
</head>

<body>
  <span id="container"></span>
  <script src="/app.compiled.js"></script>
</body>

</html>

How do I progress?


#2

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.