Have some error in 2/4

<PLEASE USE THIS TEMPLATE TO HELP YOU CREATE A GREAT POST!>

<Below this line, add a link to the EXACT exercise that you are stuck at.>

<Below this line, in what way does your code behave incorrectly? Include ALL error messages.>

``` what problem with me code?

var React = require('react’var React = require('react’p);

var BestSeller = React.createClass({

propTypes: {

},

render: function () {
return (


  • Title:
    {this.props.title}

        Author: <span>
          {this.props.author}
        </span><br />
        
        Weeks: <span>
          {this.props.weeksOnList}
        </span>
      </li>
    );
    

    }
    });

    module.exports = BestSeller;

    <do not remove the three backticks above>
  • Does the above look right?

    sorry, I only focus on the ‘BestSeller’, and don’t notice the require.
    Thank you

    1 Like

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