Anyone who can help me with this?

Tell us what’s happening:

  **Your code so far**

const ChildComponent = () => {
return (
  <div>
    <p>I am the child</p>
  </div>
);
};

class ParentComponent extends React.Component {
constructor(props) {
  super(props);
}
render() {
  return (
    <div>
      <h1>I am the parent</h1>
      { /* Change code below this line */ }
      <ChildCompnonent />
      { /* Change code above this line */ }
    </div>
  );
}
};
  **Your browser information:**

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

Challenge: Create a Component with Composition

Link to the challenge:

Hi @atajangurbanov1980 !

Welcome to the forum!

Spelling error

thank you very much!!!

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