Write a React Component from Scratch-helo

Tell us what’s happening:

what is the mistake on this??

Your code so far

// change code below this line
class MyComponent extends React.Component{
     constructor(props) {
          <h1> My First React Component!</h1>
 ReactDOM.render(<MyComponent />, 

Your browser information:

User Agent is: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.86 Safari/537.36.

Link to the challenge:

You have an extra space :upside_down_face:

1 Like

thanks…so irritating to get these sort of mistakes waste so much of time.

So true. So painfully true.