Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 683 Bytes

File metadata and controls

20 lines (14 loc) · 683 Bytes

JavaScript_Project_Beginner: Magic Eight Ball

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:

  1. An introdution to JavaScript
  2. Variables
  3. Conditionals

Goals:

  1. Print console.log statements to the terminal
  2. Generate random numbers within a certain range
  3. Use a swith statement to output different responses based on the random number generated