Created
March 6, 2018 04:39
-
-
Save charlesfreeborn/7b719a06e489f8ad79235b6f2373146f to your computer and use it in GitHub Desktop.
A simple example demonstrate JSX
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const cleanCode = ( | |
return( | |
<div> | |
<h1 className="headingGroup">This is a Heading</h1> | |
<p className="paragraphSection">This is a Paragraph</p> | |
</div> | |
) | |
) | |
ReactDOM.render(cleanCode, document.querySelector("#container")); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment