Last active
March 11, 2018 20:14
-
-
Save Colour-Full/2c6de06e26e111b2159e90979b4c13a3 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
import React from 'react' | |
import ReactDOM from 'react-dom'; | |
const App = () => { | |
return ( | |
<div> | |
<h1> Ramen Noodles </h1> | |
{/* | |
This a random image I made, feel free to skip this in your code | |
If you want to add your own image you can add it to the server/public/img folder | |
*/} | |
<img style={{width: '300px', height: '300px'}}src="ramen.jpg"/> | |
<h2>Ingredient List</h2> | |
<ul> | |
<li>First Ingredient</li> | |
<li>Second Ingredient</li> | |
<li>Third Ingredient</li> | |
</ul> | |
<h2> Cooking Instructions </h2> | |
<p> Add cooking instructions here </p> | |
</div> | |
); | |
}; | |
ReactDOM.render( | |
<App />, | |
document.querySelector('.react-container')); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment