2018-03-13 20:25:39 +00:00
|
|
|
<!-- This is a static file -->
|
|
|
|
<!-- served from your routes in server.js -->
|
|
|
|
<!DOCTYPE html>
|
2018-03-19 20:41:05 +00:00
|
|
|
<html lang="en">
|
2018-03-13 20:25:39 +00:00
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
2020-02-19 22:18:49 +00:00
|
|
|
<title>Welcome to Glitch!</title>
|
2018-03-13 20:25:39 +00:00
|
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
2020-02-19 22:18:49 +00:00
|
|
|
<meta name="description" content="A cool thing made with Glitch">
|
|
|
|
<link id="favicon" rel="icon" href="https://glitch.com/edit/favicon-app.ico" type="image/x-icon">
|
2018-03-19 21:14:04 +00:00
|
|
|
|
2018-03-19 21:03:02 +00:00
|
|
|
<!-- import the webpage's stylesheet -->
|
2018-03-19 21:14:04 +00:00
|
|
|
<link rel="stylesheet" href="/style.css">
|
2020-02-19 22:18:49 +00:00
|
|
|
|
2018-06-25 18:47:57 +00:00
|
|
|
<!-- import the webpage's client-side javascript file -->
|
2020-02-19 22:18:49 +00:00
|
|
|
<script src="/script.js" defer></script>
|
2018-03-13 20:25:39 +00:00
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<header>
|
2020-02-19 22:18:49 +00:00
|
|
|
<h1>A Dream of the Future</h1>
|
2018-03-13 20:25:39 +00:00
|
|
|
</header>
|
|
|
|
|
|
|
|
<main>
|
2020-02-19 22:18:49 +00:00
|
|
|
<h2>Oh hi,</h2>
|
|
|
|
|
2018-03-13 20:25:39 +00:00
|
|
|
<p>Tell me your hopes and dreams:</p>
|
2020-02-19 22:18:49 +00:00
|
|
|
|
2018-03-13 20:25:39 +00:00
|
|
|
<form>
|
2020-02-19 22:18:49 +00:00
|
|
|
<label>
|
|
|
|
New Dream
|
|
|
|
<input name="dream" type="text" maxlength="100" required placeholder="Dreams!">
|
|
|
|
</label>
|
|
|
|
<button type="submit" id="submit-dream">Add Dream</button>
|
2018-03-13 20:25:39 +00:00
|
|
|
</form>
|
2020-02-19 22:18:49 +00:00
|
|
|
|
2018-03-13 20:25:39 +00:00
|
|
|
<section class="dreams">
|
2020-02-19 22:18:49 +00:00
|
|
|
<ul id="dreams">
|
|
|
|
<em>loading dreams…</em>
|
|
|
|
</ul>
|
2018-03-13 20:25:39 +00:00
|
|
|
</section>
|
|
|
|
</main>
|
|
|
|
|
2020-02-19 22:18:49 +00:00
|
|
|
<footer>Made with <a href="https://glitch.com">Glitch</a>!</footer>
|
2018-03-14 22:04:45 +00:00
|
|
|
|
2018-03-19 20:41:05 +00:00
|
|
|
<!-- include the Glitch button to show what the webpage is about and
|
|
|
|
to make it easier for folks to view source and remix -->
|
2020-02-19 22:18:49 +00:00
|
|
|
<div class="glitchButton" style="position:fixed;top:2em;right:20px;"></div>
|
2018-03-19 20:41:05 +00:00
|
|
|
<script src="https://button.glitch.me/button.js"></script>
|
2018-03-13 20:25:39 +00:00
|
|
|
</body>
|
|
|
|
</html>
|