Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Hamilton Lottery Simulator - Probability and DOM

Coding Train via YouTube

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Dive into a live-streamed coding session where you'll build a Hamilton Tickets Lottery Simulator using p5.js. Explore the mathematical probability behind the lottery system, then implement the simulation in code. Learn how to dynamically update the Document Object Model (DOM) to display results. Follow along as the project unfolds in stages, from understanding the underlying math to creating a functional web-based simulator. Gain insights into JavaScript basics, HTML/CSS fundamentals, and practical applications of web development concepts. Access the source code and final project website for further exploration and learning.

Syllabus

- Part 1: Probability behind the simulator.
- Part 1 continued.
- Part 2: Simulating the lottery in p5.js.
- Part 3: Updating the DOM dynamically.
- Part 3 continued.
- Conclusion.

Taught by

The Coding Train

Reviews

Start your review of Hamilton Lottery Simulator - Probability and DOM

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.