More Information
  • Get to grips with using JavaScript
  • Manipulate elements using JavaScript
  • Explore the JavaScript Document Object Model

With this course, you’ll learn how to build a keyboard command project that allows you to press keys on your keyboard and move an element around on the page. Through systematic explanations, the course guides you on how element manipulation works and how JavaScript can be used to dynamically update element attributes and content.

As you progress, you’ll be able to successfully build a mini project that listens to keypresses and updates an element on the page accordingly.

The topics covered in this course include:

• Creating an element dynamically using JavaScript

• Listening for keyboard arrow keypresses

• Track keypresses and move the element accordingly

• Run a function to move an element

• Add elements to a page using JavaScript

• Create an array of elements

• Execute a list of movements on command

• Update, delete and move elements on the page

All code and supporting files for this course are available at

  • Build a keyboard command project using JavaScript
  • Learn how to create elements dynamically
Course Length 0 hours 49 minutes
ISBN 9781838824037
Date Of Publication 25 Apr 2019