Nesting JSX

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"

Access Denied

You must login or register for the workshop to view the diff.

Check out this video to see how the diff tab works.

Epic Workshop Diff Tab Demo