Completed
Introduction
Class Central Classrooms beta
YouTube videos curated by Class Central.
Classroom Contents
Code Tetris: JavaScript Tutorial for Beginners
Automatically move to the next video in the Classroom when playback concludes
- 1 Introduction
- 2 Setting up the project
- 3 HTML Basics
- 4 CSS Basics
- 5 Explaining Variables
- 6 Working with Arrays
- 7 What exactly is a function?
- 8 Arrow Functions and forEach()
- 9 Drawing Tetrominoes using classList.add()
- 10 Times and intervals
- 11 Using Modulus to define our place on the grid
- 12 Keycodes and events
- 13 Choosing items from Arrays
- 14 Displaying the ‘Next Up’ Tetromino
- 15 Adding a start and pause game function.
- 16 Splice()
- 17 Splice(), concat() and appendChild()
- 18 Game over using some() and innerHTML
- 19 Assigning colors to our Tetrominos