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

Readme/add content #427

Open
wants to merge 40 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
00440cb
fix: small change on readme to test push to github
TDManning Oct 7, 2024
4ccfe55
feat: add variables and function to show homepage poster
TDManning Oct 7, 2024
80ee808
feat: pseudocode and set up functions for the page views
TDManning Oct 7, 2024
241b3d9
feat: hide and unhide to show user different page views
TDManning Oct 8, 2024
82b678d
feat: add a possible set up for a view refactor
TDManning Oct 8, 2024
ec771b8
refactor: create a viewHandler function and update event listeners
TDManning Oct 8, 2024
b964391
fix: rename the view handler function to begin with a present tense verb
TDManning Oct 8, 2024
35a5b71
feat: clearly explain my function in order to access, and use it for …
TDManning Oct 8, 2024
27e3967
feat: add functionality to show the user poster
TDManning Oct 8, 2024
98e8df8
feat: add the user generated poster to the images, titles, and quotes…
TDManning Oct 8, 2024
16207ba
feat: make a showPoster helper function
TDManning Oct 9, 2024
ad782c1
feat: refactor showRandomHomepagePoster function
TDManning Oct 9, 2024
cec9bad
refactor: change showUserCreatedPoster for helper
TDManning Oct 9, 2024
dbc1f0c
feat: save the random generated posters and show them in the view page
TDManning Oct 9, 2024
bbc07fd
fix: make changes for the user created poster is saved into the array…
TDManning Oct 9, 2024
36c49f3
fix: modify back to main button event listener
TDManning Oct 9, 2024
7e4310e
feat: added mini-poster styling to the innerHTML function
TDManning Oct 9, 2024
4690d26
feat: add dataset for unmotivational poster
TDManning Oct 9, 2024
1da717e
feat: create unmotivational poster button and functionality
TDManning Oct 9, 2024
8e53144
feat: add button functionality from unmotivational to main
TDManning Oct 9, 2024
ad3e157
feat: clean the unmotivational poster array with new function
TDManning Oct 10, 2024
a473e0b
feat: display the unmotivational posters with new function
TDManning Oct 10, 2024
09c25e5
fix: add the perameter to accept the posters array in displayCleanedP…
TDManning Oct 10, 2024
4de5c6d
feat: make the unmotivational cleaned posters array global
TDManning Oct 10, 2024
2097dbd
feat: delete a double clicked unmotivational poster
TDManning Oct 10, 2024
9da2049
fix: reference the correct element to both show the page and unmotiva…
TDManning Oct 10, 2024
97174ea
refactor: change the deleteUnmotivationalPoster function and make the…
TDManning Oct 10, 2024
cb26186
feat: apply flexbox to the saved posters grid element
TDManning Oct 11, 2024
aa03cc3
feat: add flexbox to posters sections and styling to unmotivational p…
TDManning Oct 11, 2024
51622de
fix: adjust spacing of title and quote on unmotivational mini posters
TDManning Oct 11, 2024
c5e0b86
FEAT: complete the project without additional features. comment clean…
TDManning Oct 11, 2024
e876b49
feat: be the final project with comments still included
TDManning Oct 11, 2024
74d91f8
feat: hover effect on unmotivational posters
TDManning Oct 11, 2024
7b14ee3
refactor: saveCurrentPoster function
TDManning Oct 11, 2024
33fc403
refactor: clean up duplicate and unnecessary code
TDManning Oct 11, 2024
a16d241
feat: add botton hover changes
TDManning Oct 11, 2024
8bdf6a2
feat: add a duplicate user message in html
TDManning Oct 12, 2024
88c7723
feat: make user duplicate cannot save message disappear after a new p…
TDManning Oct 12, 2024
b7e541e
feat: ensure that all changes for show user the duplicate message are…
TDManning Oct 12, 2024
b229013
readme: add readme content
TDManning Oct 14, 2024
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
59 changes: 29 additions & 30 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
# Hang In There

A boilerplate repo.
# Hang in There

## Set Up
### 🎨 Abstract:
[//]: <>
This "Motivational Posters" project generates a random motivational poster to inspire the user. Other functionality includes creating a unique poster with user input for a title, quote and photo. All of these posters can be saved and viewed in a group. For an added bonus, viewers can go to an "unmotivational poster" page for some dark humor. What better way to motivate people than through comedy! If these unmotivational posters are not to the users taste, they can double-click them to make them disappear from the page.

### 🖥️ Installation Instructions:
[//]: <>
1. Fork this repository
2. Clone down your new, forked repo
3. `cd` into the repository
Expand All @@ -15,32 +17,29 @@ Project spec & rubric can be found [here](https://curriculum.turing.edu/module2/
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.
______________________________________________________

# Hang in There

### Abstract:
[//]: <> (Briefly describe what you built and its features. What problem is the app solving? How does this application solve that problem?)
2. Run the command `open index.html`

### Installation Instructions:
[//]: <> (What steps does a person have to take to get your app cloned down and running?)

### Preview of App:
### 🔎 Preview of App:
[//]: <> (Provide ONE gif or screenshot of your application - choose the "coolest" piece of functionality to show off. gifs preferred!)

### Context:
[//]: <> (Give some context for the project here. How long did you have to work on it? How far into the Turing program are you?)

### Contributors:
[//]: <> (Who worked on this application? Link to your GitHub. Consider also providing LinkedIn link)

### Learning Goals:
[//]: <> (What were the learning goals of this project? What tech did you work with?)

### Wins + Challenges:
[//]: <> (What are 2-3 wins you have from this project? What were some challenges you faced - and how did you get over them?)
### 🗒️ Context:
[//]: <>
This solo GitHub project is from Turing School of Software and Design's start of Mod 2, which is the seventh week of the program. Within an eight day deadline, this assignment challenged us to integrate our skills learned thus far to design, develop and deploy a fully functional GitHub project.

### 👏🏽 Credits:
[//]: <>
Terra D. Manning</br>
https://www.linkedin.com/in/terra-manning/</br>
https://github.com/TDManning</br>

### 🌱 Learning Goals:
[//]: <>
1. Practice reading, understanding, and using existing code
2. Write clean, DRY JavaScript
* Build out funcitonality using functions that6 show trends toward SRP
* Manipulate the page after it has loaded by adding, removing, and updating elements on the DOM
3. Use CSS and HTML to match styling and layout of provided comps

### 🏆 Wins + Challenges:
[//]: <>
Overall, this project was a lot of fun and each creating the javascript code in each iteration was rewarding because of its immediate functionality on the DOM. It was challenging to get the CSS alignment correct using flexbox and javascript, however the use of the Dev Console Tools make the trial and error process much more manageable.
7 changes: 7 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,11 @@ <h1 class="poster-title">Title</h1>
<h3 class="poster-quote">Quote</h3>
</article>
<button class="save-poster">Save This Poster</button>
<div id="save-message" class="hidden">Duplicate poster! This poster cannot be saved.</div>
<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="show-unmotivational">Unmotivational Posters</button>
</section>
<section class="poster-form hidden">
<form>
Expand All @@ -38,6 +40,11 @@ <h2>Saved Posters</h2>
<div class="saved-posters-grid"></div>
<button class="back-to-main">Back to Main</button>
</section>
<section class="saved-posters unmotivational-section hidden">
<h2>Unmotivational Posters</h2>
<div class="saved-posters-grid" id="unmotivational-grid"></div>
<button class="back-to-main-from-unmotivational">Back to Main</button>
</section>
<script src="./src/main.js"></script>
</body>
</html>
Loading