Skip to content

Latest commit

 

History

History
19 lines (16 loc) · 928 Bytes

File metadata and controls

19 lines (16 loc) · 928 Bytes

JavaScript: Random quote generator

The 1st project on the Full Stack JavaScript Techdegree. This application displays random famous quotes each time a button is clicked and after a predetermined amount of time.

Main technologies: JavaScript
Auxiliary technologies: HTML, CSS
Complexity level: Beginner
Estimated Time to Complete: 9 hours
Concepts: Variables, Loops, Conditionals, Object literal, Random number, DOM manipulation, Time Events

For "Exceeds Requirements":

  • Object have at least one additional property
  • Additional property prints to the page
  • Quotes automatically refresh at regular intervals
  • Background color changes to a random color when quote refreshes

Extras:

  • Objects have from one to three additional properties
  • Simple mathematical logic added to change the color of the text accordingly the brightness of the background random color (for legibility)