ReactDOM


#1


ReactDOM.render(

Render me!

, document.getElementById('app'));


This is not working can you tell me why?

https://www.codecademy.com/en/courses/react-101/lessons/react-jsx-intro/exercises/reactdom-render-i?action=resume


Says Make sure that you start a line with ReactDOM.render, and that it's capitalized correctly.

ReactDOM.render(<h1> Render me!</h1>, 
    document.getElementById('app')
);

#2

Unexpected white space, perhaps?

<h1>Render me!</h1>

#3

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