I have written correct but i can't move to the next challenge, its been now two days and its really frustrating react challange "Review Using Props with State

class CampSite extends React.Component {

  constructor(props) {



  render() {

    return (







// Change code below this line

const Camper = props => (<p>{props.name}</p>);

Camper.defaultProps = {name: `CamperBot`


Camper.PropTypes = {name: PropTypes.string.isRequired


Hey @kagaidouglas, welcome to the forum.

Unfortunately you have a typo, preventing the challenge to progress.
The property is called propTypes not PropTypes.

So in other words:

// from this
Camper.PropTypes = {..}

// to this
Camper.propTypes = {...}

And you should be good to go :sunglasses:

More info on the React docs page.

:heart_eyes::joy: thanks a lot dear God bless you

1 Like

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.