Skip to content

k-monterrubio/random-quote-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Random Quote Generator

Project 1 - Treehouse Full Stack JS TechDegree

by Kimberly Belanger
September 13, 2017

View Project at : https://k-belanger.github.io/random-quote-generator

Project Objective:

Create an app that displays random quotes each time a button is clicked using JavaScript and complete all "Exceeds Expectation" criteria.

Project Functions:

When button is clicked a random quote from the quotes array, with author and optional citation and year, is displayed on the screen.

Exceeds Expectations:

  • The background color of page and of the button randomly changes when a new quote is displayed. No color is repeated until all the colors have been used.
  • No quote is repeated until all the quotes in the quotes array have been cycled through. The quotes are logged to the console in order to verify this.
  • The array of quotes has an additional property of 'tags' which contains an array of tags that categorize the given quote.
  • A new quote is automatically displayed after 20 seconds have passed. If the button is clicked the interval time is reset.

About

displays random quotes from list using JavaScript

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published