You shouldn’t be changing the
CampSite component—it should be returning the
Camper component as it was set up to. I suggest that you keep a copy of your current code and rest the lesson.
In addition, there are a few other issues with your code:
Camper component is not returning what the instructions ask you to (see the highlighted part):
Inside the Camper component, render any code that you want, but make sure to have one p element that includes only the name value that is passed in as a prop.
There is a typo where you define propTypes, it should be
Camper.propTypes instead of
There is one more thing that’s missing but the tests will tell you what’s wrong. Good luck!