Tell us what’s happening:
My solution doesn’t work, but it appears to be the same one as in this youtube video: https://www.youtube.com/watch?v=dy1nk_o1HQs
I’ve been stuck on this challenge for about 50 minutes.
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 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36
.
Link to the challenge: