Learn JSX in depth. class vs className


#1

Hi there try to pass this part of the course and i'm not sure what im doing wrong.

Here is my code
var myDiv = <div className="big">I AM A BIG DIV</div>;
ReactDOM.render(myDiv,
document.getElementById('app'));


#3

Hello,

I think your code is good. Maybe it has just a bug. :frowning:


#4

I agree, your code passes for me. Try reloading/refreshing your web page. If that doesn't work, you can use "Get Help" and pick the restart the exercise.


#5

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