Need Help (6/7)

<PLEASE USE THIS TEMPLATE TO HELP YOU CREATE A GREAT POST!>
Greetings, some help with the following would be much appreciated

Components and Advanced JSX LESSON: Use an event listener in a component: Apply your knowledge of JSX to React components.

<Below this line, add a link to the EXACT exercise that you are stuck at.>
https://www.codecademy.com/courses/react-101/lessons/react-components-advanced-jsx/exercises/component-event-listener?action=lesson_resume&link_content_target=interstitial_lesson

<Below this line, in what way does your code behave incorrectly? Include ALL error messages.>
This is the error it logs:
ReactDOM.render’s second argument should be document.getElementById(‘app’).

```

var React = require(‘react’);
var ReactDOM = require(‘react-dom’);

var Button = React.createClass({
scream: function () {
alert(‘AAAAAAAAHHH!!!’);
},

render: function () {
return AAAAAH!;
}
});
ReactDOM.render(, document.getElementById(‘app’);

<do not remove the three backticks above>

You forgot the second parentheses after app.

ReactDOM.render(, document.getElementById(‘app’));

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