Stuck at 3/5. run just keeps spinning


#1



When I click the "Run" button regardless of the code (unchanged, updated, etc) it just spins forever.  I have tried this on Chrome and Firefox.  I have seen this behavior in a number of exercises on CodeAcademy but usually can back out and restart OK.  Not this time.  I am ready to give up.  Please help!

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

var Parent = React.createClass({
  getInitialState: function () {
    return { name: 'Frarthur' };
  },
  
  changeName: function (newName) {
    this.setState({
      name: newName
    });
  },

  render: function () {
    return (
    	<Child 
    		name={this.state.name},
        onChange={this.changeName}/>
    );
  }
});

ReactDOM.render(
	<Parent />, 
	document.getElementById('app')
);


#2

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