Giter Club home page Giter Club logo

motivate-me's Introduction

Motivate Me

Motivational poster creator. This site will allow you to generate a random poster or make your own. When you create your own poster, it saves the submitted data so that future posters can use it. Additionally, you have the option to save posters, delete posters from a collection, and replace individual elements (image, title, quote) on your main poster.

Tech

This site was built using JavaScript, HTML, and CSS. The main functionality of the site is created through DOM manipulation in the JavaScript file. There are three views for this page:

  • Main page
  • Make Your Own Poster page
  • Saved Posters page

Contributors

This site was built by Kim Ward and Andrew Musselman as a pair project at Turing School of Software & Design.

Step-by-Step Guide

Part 1: Main Page

The site can be opened at this link. On load, you will see the main page and a poster with a randomly selected image, title, and quote.

main-page

Every time the Show Another Random Poster button is clicked, a new random poster will be displayed.

Part 2: Switching Page View

When you click the Show Saved Posters button, it will take you to the saved posters area. The Back to Main button takes you back to the main page.

saved-view-empty

Clicking on the Make Your Own Poster button will take you to a form that contains fields to enter an image URL, title, and quote for your custom poster. If you decide not to create your own poster, you can click on the Nevermind button and go back to the main page without filling out the form.

form-view

Part 3: Make a Custom Poster

On the poster form, fill in the three fields with your desired text and image URL. Show my poster will bring you back to the main page view with your custom poster displayed. It will also save your submitted data so that you can use it for future random posters.

create-poster

Part 4: Saving Posters

On the main page, there is an option to save this poster. You can use this after getting a random poster or after creating your own poster. Clicking on the Save This Poster button adds the current poster to the Saved Posters gallery. Each poster will only be saved once so the gallery does not contain duplicates. Clicking on the Show Saved Posters button opens the gallery, which displays all saved posters as a thumbnail.

saved-view-posters

Part 5: Deleting Saved Posters

In the saved posters area, double clicking any of the poster thumbnails will delete that poster from the saved posters gallery and only show the remaining posters.

delete-posters

Part 6: Dynamic Poster Elements

On the main page, you can click on the poster image, title, or quote to randomize that element while keeping the other parts the same. For example, if you click the image it will select another random image while keeping the title and quote the same.

extension

Future Additions

  • Provide an error alert on the poster form to alert you if the data you have entered is incorrect or missing
  • Allow you to view saved posters in the full size poster view by clicking on them in the saved posters gallery
  • Allow you to rearrange the saved posters gallery by dragging the poster thumbnails

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.