ReactJS exercise 2 hello world - nothing happens


#1

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.

https://www.codecademy.com/courses/react-101/lessons/react-jsx-intro/exercises/hello-world


#2

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


#3

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


#4

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


#5

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