Mixed-up philosophy quote generator program, part of the Full-Stack Engineer Career Path at CodeCademy.
Every time a user runs a program, they get a new, randomized, mixed-up philosophy quote. The message that the program outputs is made up of four different pieces of data: author, philosophy, quote and a year between the author's years of birth and passing.
The authors, philosophies and quotes are from Karan Dahiya's philosophy-quotes-API
(see Acknowledgements.) The birth and passing years were retrieved from Wikipedia.
- Node.JS (tested on v16.13.2)
- A web browser (tested on Edge 99.0.1131.3 (Official build) dev (64-bit))
After cloning the repo locally, run:
node mixed-messages.js
Example run:
$ node mixed-messages.js
That which does not kill us makes us stronger.
Epictetus, scholar of Empiricism, 1738
- JavaScript
- JSON
- Node.JS
- Command line
- Git and GitHub
Quotes from Karan Dahiya's philosophy-quotes-API