Need help on exercise 7


I have the following error message,
After your variable declarations, make sure you start a new line with ReactDOM.render().

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

var goose = '';

// Declare new variable here:
var gooseImg = <img src={goose} />;

ReactDOM.render = (gooseImg, document.getElementById('app'));


Go back 3 lesson's and check your ReactDOM.render syntax :smiley:


Thanks for the help i see it now :wink:


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