Color Switch From Scratch Using Javascript | Making The Ball Move | Part 1

Опубликовано: 23 Февраль 2026
на канале: CodeSnack
901
15

Color switch from scratch using javascript making the ball move, we will create the player and simulate the gravity

0:00 - What we will do?
0:15 - Generating random colors
1:55 - Creating Player class
4:32 - Adding gravity
5:25 - Adding Jump
7:34 - What's next

I make mistakes of forgetting this before accessing variable within the class, if you are facing any error please check the same thing



color switch using js
color switch from scratch
color switch from scratch using javascript
coding color switch
creating javascript game from scratch


#colorswitch
#codesnack
#javascript
#computerscience
#games