← Back to portfolio
Magic Eight Ball

Overview

JavaScript program that returns random fortune-style answers.

Business Impact

A classic control-flow exercise that maps random values to user-facing responses.

Skills Demonstrated

  • Random number generation
  • Control flow / switch or conditionals
  • User prompt style interactions

Run Locally

Run with Node: `node main.js`.

What I'd Improve Next

  • Build a small browser UI around it
  • Allow custom answer sets
  • Avoid repeating the same answer consecutively

Notes

Part of the IT Career Switch coursework archive.