Can someone help me please?

Tell us what’s happening:

Your code so far

// change code below this line

class MyComponent extends React.Component {
constructor(props) {
render() {
    return (
           <h1>My First React Component!</h1>

ReactDOM.render(<MyComponent />, document.getElementById('challenge-node'));

Your browser information:

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

Challenge: Write a React Component from Scratch

Link to the challenge:

Hello there.

Do you have a question?

If so, please edit your post to include it in the Tell us what’s happening section.

The more information you give us, the more likely we are to be able to help.

Hi friend!
Thanks for your quick reply.
I can’t pass the test.
Can you please help me?

Edit: I guess I shouldn’t given the answer like that. Look at the constructor and see if you can spot the error.

super not supper

1 Like

Thanks so much .I pass it

I can’t see a question but I can see you didn’t import react from react

in the fcc challenges that’s already done in the background

1 Like