11:42Code Tetris: JavaScript Tutorial for Beginners
From the creator
Learn the basics of JavaScript by coding a Tetris game from scratch. This is a great course for people who have never touched code before or people who want to review the fundamentals. In this course, you will learn how to set up a project from scratch using the Atom code editor and your command prompt tool, as well as gain a fundamental understanding of JavaScript by building your very own version of Tetris. 🎥 Course from Ania Kubow. Check out her channel: https://www.youtube.com/channel/UC5DNytAJ6_FISueUfzZCVsw 💻 Code: https://github.com/kubowania/Tetris-Basic ❤️ Try interactive JavaScript courses we love, right in your browser: https://scrimba.com/freeCodeCamp-JavaScript (Made possible by a grant from our friends at Scrimba) ⭐️ Course Contents ⭐️ ⌨️ (0:00) Introduction ⌨️ (1:44) Setting up the project ⌨️ (7:47) HTML Basics ⌨️ (14:38) CSS Basics ⌨️ (17:46) Explaining Variables ⌨️ (23:04) Working with Arrays ⌨️ (27:42) What exactly is a function? ⌨️ (31:56) Arrow Functions and forEach() ⌨️ (35:04) Drawing Tetrominoes using classList.add() ⌨️ (45:32) Times and intervals ⌨️ (51:37) Using Modulus to define our place on the grid ⌨️ (55:48) Keycodes and events ⌨️ (1:00:02) Choosing items from Arrays ⌨️ (1:05:38) Displaying the ‘Next Up’ Tetromino ⌨️ (1:14:49) Adding a start and pause game function. ⌨️ (1:18:04) Splice() ⌨️ (1:21:07) Splice(), concat() and appendChild() ⌨️ (1:29:26) Game over using some() and innerHTML ⌨️ (1:31:58) Assigning colors to our Tetrominos -- Le
Published 2020-05-14 · Watch on YouTube ↗
Availability and playback restrictions are controlled by the original channel.





