Minified React error #200

Tell us what’s happening:
Minified React error #200; visit

Link to the challenge:

Your code so far

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

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

Your browser information:

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

Link to the challenge:

1 Like

ReactDom.render() requires a DOM element as the second parameter, as the error says: " Target container is not a DOM element."

So, you have to provide a DOM element, not a string, like this: