In this video, I cover the basics of simulating a lottery in JavaScript. How do you pick a random number to determine if you have won or not? How do you keep track of how many times you have played the lottery? How do you display the results on a webp

Source code:


Next video:

Learn JavaScript basics:

Learn HTML / CSS basics:

Working with Data / APIs:

Help us caption & translate this video!