Render Different UI Based on props

<PLEASE USE THIS TEMPLATE TO HELP YOU CREATE A GREAT POST!>
I need help on this problem.

<Below this line, add a link to the EXACT exercise that you are stuck at.>
2.
How rude! I mean, honestly.

In App.js, change the value of signedIn to make display a friendly greeting again.

<Below this line, in what way does your code behave incorrectly? Include ALL error messages.>
I got the message below if I’m not remove signedIn = {false}. But I remove signedIn = {false} problem #1 didn’t pass.

Oops! The test returned an error. Maybe you have a syntax error, or a typo. See full error.

```

var React = require(‘react’);
var ReactDOM = require(‘react-dom’);
var Greeting = require(’./Greeting’);

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



Hullo and, “Welcome to The Newzz,” “On Line!”





Latest: where is my phone?


);
}
});

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

<do not remove the three backticks above>

Finally figured this out, basically just change false to true. you don’t need the < headline /> in there

Thank you louisemcnutt!!!

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