Issue with "Create a Complex JSX Element" challenge

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> 
   <li>test3 </li> 

I can see the list itself being rendered, but it still doesn’t pass the tests. What could the issue be?


The div element is the wrapper. Inside of it you need to nest the h1, the p and the ul elements. You’re using h1 and p as wrappers also :slight_smile:

1 Like

Thanks, I swear I did that before but it worked this time haha.

1 Like