1. Use Multline JSX in a Component

<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.>
This code is, as suggested in the activity instructions, based on that in QuoteMaker.js: however, it is returned as incorrect without any error messages, additionally, the option to “Get Code” is not provided. What needs to changed for it to work?

``` var React = require('react'); var ReactDOM = require('react-dom');

var QuoteMaker = React.createClass({
render: function () {
return (



What is important now is to recover our senses.




Susan Sontag



);
}
}):

ReactDOM.render(
,
document.getElementById(‘app’)
);

<do not remove the three backticks above>
1 Like

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