Skip to content

Instantly share code, notes, and snippets.

@Colour-Full
Last active March 11, 2018 20:14
Show Gist options
  • Save Colour-Full/2c6de06e26e111b2159e90979b4c13a3 to your computer and use it in GitHub Desktop.
Save Colour-Full/2c6de06e26e111b2159e90979b4c13a3 to your computer and use it in GitHub Desktop.
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