It's not executing react code

It's not executing react code
0

#1

why this is not running


const JSX = (
<div>
   <h1>Hii</h1>
   <p>Paragraph One</p> 
   <ul>
        <li>hey</li>
        <li>hello</li>
        <li>hiii</li>
   <ul> 
</div>
)



#2

What are you expecting the above code to do?

First, you have an unclosed ul tag and second, I do not see how you are rendering the JSX.


#3

yes i see, thanks
:+1: