JavaScript Code Challenge #11: Simple Mad Libs Game




In this video I demonstrate how to create a simple Mad Libs game using prompts to save user input and output to the screen in a story of your choice.

Then we take it up a notch and include arrays in the mix to generate a random choice from a list including the input from the prompt. This will make our game output even sillier!

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

Just starting to learn JavaScript? Watch my series on beginning javascript code challenges. This video will introduce students to the concept of local and global variable scope within functions. After a brief introduction, there will be a code challenge to review and check against my solution. Good luck!

Be sure to watch my Beginning JavaScript Code With Me Challenges from the start: https://www.youtube.com/playlist?list…

If you found this video helpful, consider liking it to show your support. Subscribe to my channel to keep up on all of my Beginning Website Development topics!

Original source


One response to “JavaScript Code Challenge #11: Simple Mad Libs Game”

Leave a Reply