Tell us what’s happening:
I’m sorry, this lesson is remarkably unhelpful. What am I supposed to do here? I added the closing tags and that removed the red error lines.
Error: Cannot read property ‘type’ of undefined
Your code so far
// write your code here
const JSX = (
<div>
<h1>
<p>
<ul>
<li>first</li>
<li>second</li>
<li>third</li>
</ul>
</p>
</h1>
</div>
);
Your browser information:
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.62 Safari/537.36
.
Link to the challenge:
https://learn.freecodecamp.org/front-end-libraries/react/create-a-complex-jsx-element