Can anyone help me with my small React code? [SOLVED]

https://codepen.io/FuriousJK/pen/YbBBwe

My react code is not rendering. Anyone know why?

class App extends React.Component {..........}
Use the above line:
Corrections-->  **React.Component** but not 'React.component'
1 Like

Also, adding to what @Rajesh-UIDev pointed out,

you are trying to bind a function that’s undefined. That will cause an error and will block the render as well.

this.handleChange = this.handleChange.bind(this);

But no handleChange defined.
Hope it helps :+1:

1 Like

@Rajesh-UIDev and @Marmiz Thanks! :smiley:

That binding part was for the further code but didn’t know it would cause errors.

@FuriousJK Welcome :slight_smile: