ReactJS exercise 2 hello world - nothing happens


I am copying the const h1 code to the app.js and click run but nothing happens. What am I supposed to see? I have tried in three different browsers and they all do the same thing. (On a mac). Perhaps this is a bug I should report? But as I don’t know what I’m meant to see I don’t know! The first sentence of the next exercise implies that I should now understand what the line of code does. It does nothing.


The checkbox should turn green and you should be able to continue to the second exercise

creating a variable doesn’t give any output, so visually nothing is happening


Ok thanks. A great noob error as it is not obvious to me that nothing should happen :wink:


Have you done the JS course? Doing part/whole JS course before moving on to ReactJS i would highly recommend


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