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

Conversation

jimmacur
Copy link

html:

  • un-motivational poster div to hold the flex box containing ll un-motivational posters.
  • Back to main button that toggles the un-motivational poster section and the main page

css:

  • utilizes mini-poster img and mini-poster h4 stylings
  • flex wrap for images for screen resizing
  • sets styling for poster and h2

JS:

  • clears grid to ensure no doubles upon page reload
  • forEach poster in the cleaned unmotivated data:
  • creates html elements div, img, h2, and h4
  • adds the poster, image, title, quote
  • appends the img, title, and quote to the poster
  • appends the poster to the flex area

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant