Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Un-motivational poster #402

Open
wants to merge 21 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ To view your project:

1. In your terminal, navigate to your project repo
2. Run the command `open index.html`

______________________________________________________
# README Template
Before turning this project in, erase this line and everything above it and fill in the info below.
Expand Down
78 changes: 42 additions & 36 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,43 +1,49 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="https://fonts.googleapis.com/css?family=EB+Garamond&display=swap" rel="stylesheet">
<link rel="stylesheet" href="styles.css">
<title>Hang In There</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="https://fonts.googleapis.com/css?family=EB+Garamond&display=swap" rel="stylesheet">
<link rel="stylesheet" href="styles.css">
<title>Hang In There</title>
</head>
<body>
<section class="main-poster">
<article class="poster">
<img class="poster-img" src="" alt="nothin' to see here">
<h1 class="poster-title">Title</h1>
<h3 class="poster-quote">Quote</h3>
</article>
<button class="save-poster">Save This Poster</button>
<button class="show-saved">Show Saved Posters</button>
<button class="show-random">Show Another Random Poster</button>
<button class="show-form">Make Your Own Poster</button>
</section>
<section class="poster-form hidden">
<form>
<h2>Create your own motivational poster</h2>
<label for="poster-image-url">Image url</label>
<input type="text" name="poster-image-url" id="poster-image-url" placeholder="https://gph.is/2n553Ra">
<label for="poster-title">Motivational title</label>
<input type="text" name="poster-title" id="poster-title" placeholder="Growth Mindset">
<label for="poster-quote">Motivational quote</label>
<input type="text" name="poster-quote" id="poster-quote" placeholder="Hang in there!">
<button class="make-poster">Show my poster</button>
</form>
<div class="divider"></div>
<button class="show-main">Nevermind, take me back!</button>
</section>
<section class="saved-posters hidden">
<h2>Saved Posters</h2>
<div class="saved-posters-grid"></div>
<button class="back-to-main">Back to Main</button>
</section>
<script src="./src/main.js"></script>
<section class="main-poster">
<article class="poster">
<img class="poster-img" src="" alt="nothin' to see here">
<h1 class="poster-title">Title</h1>
<h3 class="poster-quote">Quote</h3>
</article>
<button class="save-poster">Save This Poster</button>
<button class="show-saved">Show Saved Posters</button>
<button class="show-random">Show Another Random Poster</button>
<button class="show-form">Make Your Own Poster</button>
<button class="unmotivational">Un-motivational Posters</button>
</section>
<section class="poster-form hidden">
<form>
<h2>Create your own motivational poster</h2>
<label for="poster-image-url">Image url</label>
<input type="text" name="poster-image-url" id="poster-image-url" placeholder="https://gph.is/2n553Ra">
<label for="poster-title">Motivational title</label>
<input type="text" name="poster-title" id="poster-title" placeholder="Growth Mindset">
<label for="poster-quote">Motivational quote</label>
<input type="text" name="poster-quote" id="poster-quote" placeholder="Hang in there!">
<button class="make-poster">Show my poster</button>
</form>
<div class="divider"></div>
<button class="show-main">Nevermind, take me back!</button>
</section>
<section class="saved-posters hidden">
<h2>Saved Posters</h2>
<div class="saved-posters-grid"></div>
<button class="back-to-main">Back to Main</button>
</section>
<section class="unmotivational-posters hidden flex-container">
<h2>Un-motivational Posters</h2>
<div class="unmotivational-posters-flex"></div>
<button class="back-to-main2">Back to Main</button>
</section>
<script src="./src/main.js"></script>
</body>
</html>
Loading