Https://learn.freecodecamp.org/front-end-libraries/react/render-a-class-component-to-the-dom

Https://learn.freecodecamp.org/front-end-libraries/react/render-a-class-component-to-the-dom
0

#1
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'));

not working

Https://learn.freecodecamp.org/front-end-libraries/react/render-a-class-component-to-the-dom


#2

There’s a stray comma after <Fruits />