Wheel of Success

The idea of this project was to use JavaScript to create an array of simple phrases, write functions to randomly choose one of those phrases, splitting the letters up and displaying them on the game board. After a letter was selected, that letter would become disabled, either removing a heart if the letter wasn't in the phrase, or displayed the correct letters on the game board. If the player ran out of lives, the screen would turn red displaying a loss message with the option to replay, or if the phrase was complete, a green screen with a winning message was displayed.
<The Code>


Takeaway
The Wheel of Success game was definitely one of my favorite projects during the Treehouse Program. I felt very accomplished knowing I wrote the code for this simple, yet fun, game to run seamlessly in my browser. I even had my friends play it to show off a little! This project also piqued my interest substantially in JavaScript. While I'm still quite fresh with the language, I find it very intriguing and am motivated to learn more about it!