Javascript project for a beginner.
Details: You’ve learned a powerful tool in JavaScript: control flow! It’s so powerful, in fact, that it can be used to tell someone’s fortune.
In this project we will build a Magic Eight Ball using control flow in JavaScript.
The user will be able to input a question, then our program will output a random fortune.
Key Concepts:
- An introdution to JavaScript
- Variables
- Conditionals
Goals:
- Print console.log statements to the terminal
- Generate random numbers within a certain range
- Use a swith statement to output different responses based on the random number generated