Completed
- Checking for wins
Class Central Classrooms beta
YouTube videos curated by Class Central.
Classroom Contents
Build Minesweeper with JavaScript
Automatically move to the next video in the Classroom when playback concludes
- 1 - Brad's Intro
- 2 - Ania's Intro
- 3 - Recursion explainer
- 4 - Setting up our HTML
- 5 - Styling our Grid in CSS
- 6 - Setting up our JavaScript usng the DOM EventListener
- 7 - Creating our Board using .createElement() and .appendChild()
- 8 - Adding numbers to the board using Modulus and .contains()
- 9 - Checking what is under a Square usng .getAttribute() .innerHTML and .add()
- 10 - Checking neighbouring squares using recursion and setTimeout
- 11 - Adding flags to squares with a left click
- 12 - Checking for wins