The test isnt pasing for react

Tell us what’s happening:

i cant identify my mistake, the code looks ok but i am still failing one of the requirements of the test

Your code so far


class TypesOfFood extends React.Component {
constructor(props) {
  super(props);
}
render() {
  return (
    <div>
      <h1>Types of Food:</h1>
      {/* change code below this line */}
  <Fruits />;
  <Vegetables />;
      {/* change code above this line */}
    </div>
  );
}
};

// change code below this line
ReactDOM.render(<TypesOfFood />, document.getElementById('challenge-node'));

Your browser information:

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

Challenge: Render a Class Component to the DOM

Link to the challenge:

Issue is actually visible in the preview, although due to positioning it can be easily missed.

Remember that in the return of the render function you are not returning javascript code, javascript there is added in the {} brackets, like the comments pointing where changes should be made. So right now your Fruits and Vegetables components are separated by one obsolete character.