JavaScript DOM Games

Explore how you can use JavaScript to create interactive and dynamic games

What's Inside

JavaScript DOM Document Object Model - Explore how to manipulate elements while building a fun interactive game. The scope of the course is about applying JavaScript and seeing it in action.

This course is perfect to practice and learn more about the Document Object Model, while building a fun interactive game from scratch. build your own version of this JavaScript game. Step by step lessons with explanations of JavaScript methods and applying logic to create this mini application.

Its not always fun and games to learn JavaScript, but in this case it can be :)

Source code is included so you can try the code at the end of the lessons to see it in action. Useful coding concepts and JavaScript methods are covered to get you more familiar with using them and building out customized applications from scratch.

Scope of the course is to introduce you to element manipulation via the DOM. Content covered relates to effectively creating interactive and dynamic content for web users. I keep non JavaScript coding to a minimal to focus directly on JavaScript. This is a fast paced course straight to the point on how to apply JavaScript.

JavaScript Game Exercise - Quick Click Popper Game

No libraries, no shortcuts just learning JavaScript making it DYNAMIC and INTERACTIVE web application.

Explore how you can use JavaScript to develop a fun interactive clicking game from scratch. Fully dynamic, step by step build alongside the course lessons. Source code is included to get you started quickly. Fun and exciting way to learn and practice JavaScript.

Prefect course for beginners to learn JavaScript!!!

Step by step learning with all steps included.

JavaScript Game Exercise Covers

  • Setting up your development environment
  • building your HTML page structure for the application
  • Using JavaScript to select elements into JavaScript objects
  • Adding event handlers to elements making them interactive
  • Building a dynamic game board grid of elements using JavaScript - create elements
  • Create game play with dynamic content
  • Get game data from JSON file using fetch
  • Update and interact with page elements
  • Apply game logic to score and win game
  • Tweak and update game play
  • Code review of all functions used within the game

Looking to practice JavaScript - look no further this is the perfect course to learn more about JavaScript and how to build a fully functional application from scratch. Step by step training with all the source included.

JavaScript practice build a game Card game Covers

  • Element selection and manipulation using JavaScript
  • Using arrays to build a deck of cards
  • Sorting cards and selecting random items from an array
  • Updating element classes dynamically
  • Adding data to JavaScript element object
  • Using CSS to design a visual card element
  • Applying classes dynamically with JavaScript
  • Array methods splice and more
  • JavaScript Math methods for random and floor
  • Loops to iterate through array contents
  • Setting element attributes on the fly
  • Dynamically creating elements
  • Game logic and win conditions
  • Trouble shooting and game tweaks

JavaScript Word Scramble Game from scratch course

Great way to learn and practice JavaScript while building a fun interactive game.

  • Guess the word its scrambled
  • Perfect to explore working with the DOM
  • Explore using JavaScript to interact with elements
  • Loop array data
  • Create event listeners
  • Add game play and logic
  • Hide and show elements
  • Check for winners
  • Use JavaScript methods
  • Step by step lessons - source code included

Using JUST JAVASCRIPT see how you can build a fully functional car racing game

Learn and practice applying JavaScript.

Perfect for beginners to learn step by step to build interactive web applications. This course covers building a web site based car driving game, with all the source code and everything you need to build your own version. JavaScript core knowledge is a prerequisite for this course along with HTML and CSS. This course is design for those who want to build interactive content using JavaScript and practice applying JavaScript in development.

JavaScript Car Driving Game from scratch with source code covers

  • Element Selection and manipulation via JavaScript
  • Updating element style properties to move elements on your webpage
  • Adding event listeners to create interactive content
  • Keyboard events used to move elements
  • Collision detection between two elements on the page
  • Using animation frame function in JavaScript
  • Creating elements dynamically
  • Applying logic for game functions
  • Step by step lessons - source code included

Explore using JavaScript building this fun interactive game from scratch - step by step lessons showing you how you can build this application. Source code is included to get you started quickly.

This course will help you learn more about using JavaScript.

JavaScript - Click Shape Game from Scratch Covers

  • Setting HTML and CSS for game application
  • Using JavaScript to manipulate elements
  • Adding event listeners for JavaScript interaction
  • Updating element style with JavaScript
  • Creating elements on the fly
  • Adding style and event listeners to dynamically created elements
  • JavaScript Date method
  • JavaScript Timeout
  • Creating a random hex color value
  • Updating HTML of elements
  • and more.

JavaScript Plane Bomber Game - DOM practice exercise

  • Element selection using querySelector
  • Elements as objects in JavaScript
  • Adding addEventListener Keyboard events
  • Getting Key press values
  • Setup of global variables and objects for gameplay
  • Element creation on the fly createElement() method
  • Adding new elements to the page appendChild()
  • Setting of element attributes setAttribute()
  • Adding animation of content requestAnimationFrame()
  • Updating element position depending on key press
  • Updating element style values
  • Tracking element position within data objects
  • Using offset values of element to get position X,Y
  • Adding classes to elements classList()
  • Applying scoring and game logic for gameplay functionality
  • Creating dynamic values that can scale with game
  • Updating element content innerHTML
  • Applying logic and game concepts.
  • Adding enemy target to gameplay
  • Moving targets and document element with gameplay
  • Adding elements to the page and tracking movement
  • Dynamically creating elements
  • Automation of movement for non player elements
  • Checking element position and determining element overlap
  • Collision Detection between two elements on the page
  • Getting element details getBoundingClientRect()
  • Returning the size of an element and its position relative to the viewport.
  • Debugging and game checking
  • Code review and adjustments

Click Games JavaScript - 2 Game projects from scratch

Did you want to learn more about JavaScript and how to select and update elements. Practice DOM interaction and manipulation while build 2 fun practice projects.

JavaScript Project #1- Catch the element Game

  • Adding event listeners to elements
  • Element selection and manipulation
  • Element style updates and dynamically change style properties with JavaScript
  • Updating innerText and HTML content
  • Use of JavaScript Math methods
  • Applying of game logic
  • Creating element movement on page
  • Use of requestAnimationFrame for web page animation
  • Use of getBoundingClientRect to get element boundaries
  • Source Code is included so you can try the game and create your own version

JavaScript Project #2- Element Quick Clicker

  • Adding event listeners to elements
  • Game scoring and progress
  • Game logic and conditions to win
  • Element style manipulation
  • Use of setTimeout
  • Appending elements and removing elements from web page
  • DOM manipulation and interaction
  • Creation of dynamic and interactive content
  • Source Code is included so you can try the game and create your own version

JavaScript in Action - bird flying game fun with the DOM

Explore how you can apply JavaScript to :

  • Select elements from the web page
  • Create global variables and objects to use for game play
  • Add event listeners to create interactive content
  • Listen for keypress and apply the results in your code
  • Add classes and remove classes from elements
  • Create elements dynamically on the fly with JavaScript
  • Append new elements to existing webpage elements
  • Use offset values of elements within code
  • Update element style values to produce animation
  • Use of awesome JavaScript methods like getBoundingClientRect()
  • Smooth animations with requestAnimationFrame()
  • Check for element overlap and collision detection
  • How to build your game to be dynamic with flexible variables
  • and much more.

JavaScript Number Guessing Game - JavaScript DOM

  • Event listeners to listen for DOM content load
  • Setting of variables and objects for use in Game flow
  • Using JavaScript to add, remove and check if classes exist in an element
  • Element style updates dynamically with JavaScript
  • Ternary operator to apply logic
  • Game logic with conditional statements
  • Use of JavaScript methods like Math to create randomness
  • Source code is included
  • try the code and see what you can build

JavaScript Alien Invaders Game Project Course

  • DOM element selection and element manipulation
  • Update of style attribute and screen position
  • Use of JavaScript methods like Math(), getBoundingClientRect() and others
  • Check element collision detection
  • Adding keyboard event listeners and tracking them
  • Use of animation frame for smooth animations
  • Tracking and movement of page elements
  • Apply JavaScript to create a web based game

JavaScript Card War Game Project Course

Game outline

  1. Let the user select the number of players
  2. Use JavaScript to create a deck of cards (52)
  3. Deal the cards to each player evenly
  4. Flip the top card for each player
  5. Check which card it the highest value - if there is a tie run a playoff
  6. On tie run the playoff function checking to see the players followup cards and who has the highest. If the player runs out of cards they lose.
  7. Let the player determine how many rounds of attack will be run
  8. Keep running steps 4-7 until one player holds all the cards and is the winner
  9. Once a winner is determined allow the player to restart the game build the sequence again

Course Covers

  • Element selection and manipulation
  • Creating arrays in JavaScript - Array methods and array data handling
  • Adding event listeners to listen for user interactions
  • Updating element style properties and values on the fly
  • Adding and removing element classes
  • Creating elements dynamically and adding them to the page
  • Applying game play logic and game development logic
  • Big fixes and debugging applications
  • Checking game logic and applying game logic to create play path
  • Source Code is included

JavaScript Breakout Game from scratch with only JavaScript

  • Game Setup prepare to make the game HTML
  • Create Elements using JavaScript
  • Add style to elements
  • Event handling Key Presses
  • Start Game variables
  • Create the gameboard dynamically
  • Setup Bricks and elements
  • Moving elements on the page DOM style update
  • Animation frame
  • Get element position check collision Detection
  • Check if ball hit brick take action

Course Curriculum

Get started now!



466+ Students
188 Lectures
0+ Hours of Video
Lifetime Access
24/7 Support
Instructor Rating
Laurence Svekis
I'm here to help you learn, achieve your dreams, come join me on this amazing adventure today

Providing Web development courses and digital marketing strategy courses since 2002. Laurence is an Innovative technology expert with a wide range of real world experience. Providing Smart digital solutions online for both small and enterprise level businesses.

"I have a passion for anything digital technology related, enjoy programming and the challenge of developing successful digital experiences. As an experienced developer, I created my first computer applications in 1990, and my first website in 1998. I enjoy sharing my knowledge with others and want to help you share in the wonderful opportunities that the internet provides."

"Learning, understanding with a strong passion for education. The internet has provided us with new opportunities to expand and share knowledge."

Want to learn more about becoming a web developer, do you want to experience the freedom that technology provides for us? Learn how to bring amazing things to life online. Technology connects us all in many ways. It opens up doors to those who embrace it and learn how to make those connections real.

"My courses are designed to help you achieve your goals, learn and update skills"

Background : An experienced web application developer, having worked on multiple enterprise level applications, hundreds of websites, business solutions and many unique and innovative web applications. Web application development areas of expertise include HTML, CSS, JavaScript, JQuery, Bootstrap, PHP and MySQL. Anything to do with web creation and digital experience. Passionate about everything to do with web application development, programming to online marketing with a strong focus on social media and SEO.

"Understanding technology provides a means to better connect with users. It also opens so many doors. Knowledge is the key to success and I want to help you experience what technology has to offer. I'm passionate about web technologies, and look forward to sharing my knowledge and experience with you!"

Popular Bundles