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

Joe Chirchirillo #416

Open
wants to merge 34 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
51577a1
feat: content generator function, event listeners
jchirch Aug 21, 2024
745e2ba
feat: button hides main page
jchirch Aug 21, 2024
ed47a93
refactor: replaced logic with switchHidden helper function
jchirch Aug 21, 2024
0a245e5
Merge pull request #1 from jchirch/create-poster
jchirch Aug 21, 2024
8688fbc
feat: view show saved posters page
jchirch Aug 21, 2024
cdc3025
Merge pull request #2 from jchirch/switch-views
jchirch Aug 22, 2024
3523dbe
fix: event listeners had wrong arguments in switchHidden
jchirch Aug 22, 2024
dcf2f89
feat: event listener for make new poster
jchirch Aug 22, 2024
d8589d2
fix: expanding make new poster event listener
jchirch Aug 22, 2024
52fa4a8
fix: make poster button renders poster
jchirch Aug 22, 2024
995ade3
refactor: organized javascript page
jchirch Aug 22, 2024
8d2d5e7
fix: save poster button
jchirch Aug 22, 2024
c9e20e7
feat: save unique posters
jchirch Aug 24, 2024
49e6988
Merge pull request #3 from jchirch/create-new-poster
jchirch Aug 24, 2024
cde2516
feat: saved posters displays mini saved posters
jchirch Aug 25, 2024
c48ed33
Merge pull request #4 from jchirch/save-view-posters
jchirch Aug 25, 2024
5d35cfd
feat: unmotivational button, page, and return to main button
jchirch Aug 25, 2024
e61f6f4
feat: cleanData function
jchirch Aug 25, 2024
60e8299
feat: render demotivationals
jchirch Aug 26, 2024
c4e27ef
fix: sad poster grid format
jchirch Aug 26, 2024
9ba4e74
fix: incorporate flexbox, bad poster styling
jchirch Aug 27, 2024
8b6d6ce
Merge pull request #5 from jchirch/unmotivational-posters
jchirch Aug 27, 2024
1b20740
fix: debugging in process
jchirch Aug 27, 2024
81cdd6a
docs: updated README
jchirch Aug 28, 2024
e0a03b2
Add files via upload
jchirch Aug 28, 2024
aa34dd9
screenshot for readme
jchirch Aug 28, 2024
e9fe44e
refactor: delete method and readme
jchirch Aug 28, 2024
ed73361
Merge pull request #6 from jchirch/delete-posters
jchirch Aug 28, 2024
01bf172
Update README.md
jchirch Aug 28, 2024
1e9639b
refactor: remove comments, pseudocode, white space.
jchirch Aug 28, 2024
6cb4960
Merge branch 'main' into delete-posters
jchirch Aug 28, 2024
8e777bb
Merge pull request #7 from jchirch/delete-posters
jchirch Aug 28, 2024
15232e3
refactor: clean up console logs and final touches
jchirch Aug 28, 2024
64951ab
Merge pull request #8 from jchirch/refactor
jchirch Aug 28, 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
Binary file added MP-screenshot.PNG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
59 changes: 28 additions & 31 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,46 +1,43 @@
# Hang In There

A boilerplate repo.

## Set Up

1. Fork this repository
2. Clone down your new, forked repo
3. `cd` into the repository
4. Open it in your text editor
5. Add your project manager as a collaborator on the repository

Project spec & rubric can be found [here](https://curriculum.turing.edu/module2/projects/hang-in-there/index)

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?)
Sometimes we all need a little inspiration. This webpage contains a small interactive platform where motivational posters (MPs) are randomly generated. Additionally, there is a page of Demotivational Posters (DPs) for contrast. The DP page has a built in feature to remove individual DPs if they harsh the vibe too much. Lastly, there is an option for the user to create their own MP with a default template.

### Installation Instructions:
[//]: <> (What steps does a person have to take to get your app cloned down and running?)
1. In your CLI navigate to an empty directory.
2. Fork [from this webpage](https://github.com/jchirch/hang-in-there) and clone into empty directory.
3. Open new tab on web browser and enter `cmd + O`.
4. Navigate to empty directory made in step 1.
5. Open and begin exploring.

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

<img src="MP-screenshot.PNG">

An example of a custom Motivational Poster that a user could make.
### 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?)
This project was completed from a template in 9 days time. I've been enrolled in Turing for about 2 months and have been learning HTML, Javascript, and CSS for 10 days.

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

Joe Chirchirillo, [Github](https://github.com/jchirch) & [LinkedIn](https://www.linkedin.com/in/joechirchirillo/).

### Learning Goals:
[//]: <> (What were the learning goals of this project? What tech did you work with?)
The primary objective of this project was to have a lightspeed crash course on web development through trial and error. There were several sub- objectives for this project:

- Practice reading, understanding, and using existing code.
- Write clean, DRY JavaScript.
- Build out functionality using functions that show trends toward SRP.
- Manipulate the page after it has loaded by adding, removing, and updating elements on the DOM.
- Use array prototype iterator methods to reformat data and display it on the DOM.
- Use CSS and HTML to match styling and layout of provided comps.

### 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?)
There were as many challenges on this projects as there are stars in the sky.
I had zero experiance with web development or Javascript, CSS, & HTML before beginning.
Whenever I hit a wall that no ammount of googling or reading notes/MDN Docs could overcome, I reached out to the Turing community for a nudge.

Some personal wins for this project include:
- Reusing logic to efficiently overcome technical challenges.
- Be able to parse a large data set, extract desired information, and generate new data structures with said desired info (a topic I struggled with in the past).
- Having a full comprehension of all written code.
6 changes: 6 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ <h3 class="poster-quote">Quote</h3>
<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-unmotivationals">Unmotivational Posters</button>
</section>
<section class="poster-form hidden">
<form>
Expand All @@ -38,6 +39,11 @@ <h2>Saved Posters</h2>
<div class="saved-posters-grid"></div>
<button class="back-to-main">Back to Main</button>
</section>
<section class="unmotivationals hidden">
<h2>Unmotivational Posters</h2>
<div class="bad-poster-grid"></div>
<button class="return-to-main">Return to Main</button>
</section>
<script src="./src/main.js"></script>
</body>
</html>
Binary file added readme-imgs/MP-screenshot.PNG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading