Is my eyes so tired or something wring with the env

Tell us what’s happening:
Describe your issue in detail here.

I was working on react challenges

and I know or believe that I coded the answer correct

  **Your code so far**

class Fruits extends React.Component {
constructor(props) {
  super(props);
}
render() {
  return (
    <div>
      <h2>Fruits:</h2>
      { /* Change code below this line */ }
      <NonCitrus />
      <Citurs />
      { /* Change code above this line */ }
    </div>
  );
}
};

class TypesOfFood extends React.Component {
constructor(props) {
   super(props);
}
render() {
  return (
    <div>
      <h1>Types of Food:</h1>
      <Fruits />
      <Vegetables />
    </div>
  );
}
};

but it fails to render to React.Dom

  **Your browser information:**

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.61 Safari/537.36

Challenge: Compose React Components

Link to the challenge:

Even if I copy the code from the solution over to the jsx it wont work

Hi @mhafez1978

Check the spelling of Citrus.

1 Like

You on point oh how embarrassing.

Thank you so much

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