A JavaScript terminal program that will show the user a random quote from a random hero. I have selected the quotes and hero's.
Run this project with node
node script.js
Or download the files and open up the index.html for a web interface.
This is my first portfolio project for the Codecademy Full Stack Engnieer Carrer Path course.
The prompt is shown below.
For this project, you will build a message generator program. Every time a user runs a program, they should get a new, randomized output. You’re welcome to take the project in a couple of different forms, like an astrology generator, inspirational message, or nonsensical jokes. To make your program truly random, the message that it outputs should be made up of at least three different pieces of data. Take what you know of JavaScript syntax so far to build the program and customize it to your liking.
While the project required only a terminal application, I have later revisted this after the some html, css and JavaScript courses to create a simple web interface. I have left the original script.js
untouched however.
This project was rather simple. To improve this I would find an API which could pull a far larger list of quotes from a database. This could include options for the movie name and timestamps.