We’re supposed to create a JSX element with an h1 tag, a p tag, and three li elements inside a
- element. This is what I came up with:
const JSX=(<div>
<h1>
<p>
<ul>
<li>test</li>
<li>test2</li>
<li>test3 </li>
</ul>
</p>
</h1>
</div>)
I can see the list itself being rendered, but it still doesn’t pass the tests. What could the issue be?