My code not working .Who can help me?

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

  **Your code so far**

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

// Change code below this line
RactDOM.render(<TypesOfFood/>,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/91.0.4472.77 Safari/537.36

Challenge: Render a Class Component to the DOM

Link to the challenge:

Hi @TursunboyAvazbekov ,

‘Vegetables’ and ‘ReactDOM’ in the code is misspelt.

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