Space Invaders in JavaScript, HTML and CSS Walkthrough!

Space Invaders in JavaScript, HTML and CSS Walkthrough!

Space Invaders is a simple grid-based game in which you as the shooter have to shoot down as many alien invaders before they get to you. We are going to build a 15 x 15 grid square with 20 invaders to shoot.

Space Invaders is a simple grid-based game in which you as the shooter have to shoot down as many alien invaders before they get to you. We are going to build a 15 x 15 grid square with 20 invaders to shoot.

In this repo, I will be putting extra focus on for loops and classLists in JavaScript. If you want to learn how to use these loops and classLists effectively, please have a look at my code.

We are also going to be looking at:

  • for loops
  • addEventListener
  • classList
  • document.querySelector
  • Timeout
  • switch case

As always I have kept the styling at a bare minimum for you to go wild and make it your own.

html css javascript

Bootstrap 5 Complete Course with Examples

Bootstrap 5 Tutorial - Bootstrap 5 Crash Course for Beginners

Nest.JS Tutorial for Beginners

Hello Vue 3: A First Look at Vue 3 and the Composition API

Building a simple Applications with Vue 3

Deno Crash Course: Explore Deno and Create a full REST API with Deno

How to Build a Real-time Chat App with Deno and WebSockets

Convert HTML to Markdown Online

HTML entity encoder decoder Online

Countdown with HTML, CSS, and JavaScript / How to create JavaScript Countdown

Countdown with HTML, CSS, and JavaScript / How to create JavaScript Countdown. W will build a Responsive Website with HTML, CSS, and JavaScript

CSS Button Generator (Mini) using HTML, CSS, and JavaScript

Learn how to create a mini CSS Button generator just by using HTML, CSS, and JavaScript. We will only cover some properties related to the button but you can use other properties to allow users to play around with different styles and designs.

Filter Search List using JavaScript

I will show you how to create a list with filter functionality using JavaScript to search any item inside the list.

How to add CSS & Javascript to your HTML

How to add CSS & Javascript to your HTML - In this video, we create a starter template and link external CSS and Javascript files into our HTML file. We also look into what a CDN is and general boiler...

CSV Viewer with HTML, CSS & JavaScript

We'll be creating a CSV Viewer that can be used on the web using HTML, CSS & JavaScript. CSV Viewer with HTML, CSS & JavaScript - Project Video