bestcourses is supported by learners. When you buy through links on our website, we may earn an affiliate commission. Learn more

JavaScript DOM Games course for Beginners Get started Coding

Create Interactive and Dynamic Web Page content with JavaScript DOM manipulation All JavaScript Document Object Model

4.2 / 5.0
3294 students2 hours 22 minutes

Created by Laurence Svekis, offered on Udemy

bestcourses score™

Student feedback

5.1/10

To make sure that we score courses properly, we pay a lot of attention to the reviews students leave on courses and how many students are taking a course in the first place. This course has a total of 3294 students which left 11 reviews at an average rating of 4.2, which is average.

Course length

8.8/10

We analyze course length to see if courses cover all important aspects of a topic, taking into account how long the course is compared to the category average. This course has a length of 2 hours 22 minutes, which is pretty short. This might not be a bad thing, but we've found that longer courses are often more detailed & comprehensive. The average course length for this entire category is 9 hours 9 minutes.

Overall score

5.5/10

This course currently has a bestcourses score of 5.5/10, which makes it an average course. Overall, there are probably better courses available for this topic on our platform.

Description

JavaScript Explore what you can do with the Document Object Model making your web pages come to life!!!

The DOM is an object-oriented representation of the web page, which can be modified with JavaScript to Create Interactive and Dynamic Web Content

  • Select elements from the page

  • Update Elements on the Page

  • Apply Styling to the style attribute

  • Track user interactions with Click events and keyboard events

  • Move and manipulate page elements with JavaScript

Upcoming lessons will show you how - to make you web pages come to life

Creating a basic game project - where the player can move a page element using the keyboard. Also create new page elements - and automatically have new page elements added to the page when conditions are met. Creating a dynamic and interactive game that detects element collision and adds to the score. Move your element to hit the other elements on the page, score and see how new elements are created with a max number in from the code. Basic JavaScript Game structure that can be extended upon to build your own games and more.

Source Code is included - Step by step PDF guide and more.

Selection of page elements into JavaScript - select single or multiple Page elements with QuerySelector

Course Covers

  1. Web Dev Setup Coding IDE and Resources - links and resources to setup introduction to course content.

  2. JavaScript DOM Document Object Model Introduction to Selection JavaScript element selection and manipulation of the text content.  Selection of page elements into JavaScript - select single or multiple Page elements with QuerySelector

  3. Element Style Manipulation with JavaScript Update Color and Background Color - Update manipulate the Element Style properties and add click events with JavaScript Event Listeners.   Create a mini project that updates the element background color when it is clicked.

  4. Update Element Position Using JavaScript - Move elements on the page update the element style left and top values with JavaScript. 

  5. AnimationFrames with JavaScript and KeyBoard EventListeners Movement - Use of AnimationFrames to have smooth continuous movement of elements on the page.   Adding keyboard key presses to move element according to keypress event listeners.  Update element position with JavaScript.

  6. Create Element using JavaScript and Randomly Place within Page Container Div Make new elements with JavaScript - using document create Element method to dynamically generate elements and add them to the HTML page.

  7. Move element Randomly make clickable Make new elements clickable and randomly move on the page. 

  8. Collision Detection with JavaScript elements Add options to check collision between page elements.  Check top to bottom element dimensions and left to right comparing to detect if there is overlap.  If overlap happens, track as a collision.  Add the collision check to the JavaScript project checking for any collision between page elements.

  9. Scoring and Game Development with JavaScript Page Elements Adding scoring to the gameplay - create gameplay and allow the user to progress in the game.  Game design and game concepts and how to apply it with JavaScript.

  10. Final Gameplay of JavaScript DOM project

Source Code is included

Taught by an instructor with over 20 years of web development experience ready to help you learn more about JavaScript

What you will learn

  • JavaScript DOM manipulation
  • JavaScript to create interactive web pages
  • Dynamic web pages with JavaScript
  • JavaScript code to interact with HTML elements
  • JavaScript to create a game
  • Keyboard key press events using arrows to move page element div
  • Use of animation frame for smooth web page movement

Requirements

  • JavaScript HTML and CSS
  • Coding experience
Udemy logo
Available on

Udemy

With almost 200,000 courses and close to 50 million students, Udemy is one of the most visited online learning platforms. Popular topics include software development, the digital economy, but also more traditional topics like cooking and music.

Frequently asked questions

  • Price: $94.99
  • Platform: Udemy
  • Language: English
  • 2 hours 22 minutes
JavaScript DOM Games course for Beginners Get started Coding thumbnail

bestcourses score: 5.5/10

There might be better courses available for this topic.