Skip to content

Instantly share code, notes, and snippets.

@eamonnboyle
Created February 22, 2021 15:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save eamonnboyle/b7e4331b2929ca6b49331583c0e7c631 to your computer and use it in GitHub Desktop.
Save eamonnboyle/b7e4331b2929ca6b49331583c0e7c631 to your computer and use it in GitHub Desktop.
Weather App Tutorial - Skeleton UI
...
function App() {
return (
<div>
<h1>Weather App</h1>
<div>
<label>
Add Location <input type="text" value="Paris"/>
</label>
<button>Search</button>
</div>
<div>
<h2>Locations</h2>
<table>
<thead>
<tr>
<th>Name</th>
</tr>
</thead>
<tbody>
<tr><td>Belfast</td></tr>
<tr><td>New York</td></tr>
</tbody>
</table>
</div>
</div>
);
}
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment