Nesting JSX

Loading "Nesting Jsx"
πŸ‘¨β€πŸ’Ό Remember when we created this with createElement?
<div class="container">
	<p>Here's Sam's favorite food:</p>
	<ul class="sams-food">
		<li>Green eggs</li>
		<li>Ham</li>
	</ul>
</div>
That was... intellectually stimulating πŸ˜…. Well, now try doing the same thing using JSX. I promise it'll be more fun this time.
πŸ’° Tip: remember class in JSX is className.

Please set the playground first

Loading "Nesting JSX"
Loading "Nesting JSX"