Whats wrong with my code 13/15


#1


this is my current code


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

// Write code here:
var myList = (
    <ul>
        <li>Learn JS</li>
        <li>Learn ReactJS</li>
        <li>Learn Node</li>
    </ul>
);

ReactDOM.render(
  mylist, 
  document.getElementById('app')
);


#2

The above does not look correct. It needs to be a JSX instance in the render call.

<myList />

#3

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