Create a React Component

Create a React Component
0

#1

Tell us what’s happening:

Your code so far



class MyComponent extends React.Component {
  constructor(props) {
    super(props);
  }
  render() {
    // change code below this line
   return  (
  <div>
    <h1>Hello React!</h1>
  </div>
  );


    // change code above this line
  }
};

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.181 Safari/537.36.

Link to the challenge:
https://learn.freecodecamp.org/front-end-libraries/react/create-a-react-component


#2

Works a-ok for me… What error message comes up for you when you run the test?


#3

Thanks had a problem with my internet connectivity i guess