React

ReactJS Practical Questions - react component code...

12.

What do you need to change about this code to get it to run?

class animal extends React.Component {
  render() {
    return <h1>Look at the dog: {this.props.dog}</h1>;
  }
}

Remove the render method

Add quotes around the return value

Remove this

Change "animal" to "Animal"