It's the Monty Hall Problem! In JavaScript! With p5.js! Yes, you really double your chances of winning by switching doors. I hope to convince you of this in this video!
Ask Marilyn column on the Problem published in Parade Magazine in 1990
MDN Web Docs entry on the Document Object Model
MDN Web Docs entry on the basics of CSS
p5.js tutorial on basic CSS and the p5 style() function
p5.js tutorial on using the selectAll() function to add events to multiple DOM elements
p5.js tutorial on using local storage in JavaScript
Livestream with Monty Hall challenge.
- Editing
by Mathieu Blanchette
- Animations
by Jason Heglund