React.js task 12, ReactDOM.render 2

<PLEASE USE THIS TEMPLATE TO HELP YOU CREATE A GREAT POST!>

<Below this line, add a link to the EXACT exercise that you are stuck at.>
https://www.codecademy.com/en/courses/react-101/lessons/react-jsx-intro/exercises/reactdom-render-ii?user_id=534ca7bf8c1ccc184a000bfd

<Below this line, in what way does your code behave incorrectly? Include ALL error messages.>
My code just isnt running despite the fact that i have completed what they asked for

I replaced “app” with “container” in app.js, and I have replaced the app element in the html file with the container element, not working

```

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

ReactDOM.render(

Render me!

,
document.getElementById(‘container’)
);
<do not remove the three backticks above>

Please show us your index.html.

Tell us what you mean by “not working”. Are you seeing an error message? If so, what is it saying?

@munrooper

You probably updated the app.js file but not the index.html file

for this exercise you need to

 replace <main id="app"></main> with <span id="container"></span> in index.html

replace document.getElementById('app') with document.getElementById('container') in app.js

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