JavaScript in Action - bird flying game fun with the DOM

person icon Laurence Svekis

JavaScript in Action - bird flying game fun with the DOM

Use JavaScript connect with Elements and create a game while practicing learning JavaScript and Document Object Model

updated on icon Updated on Sep, 2023

language icon Language - English

person icon Laurence Svekis

architecture icon Development,Web Development,Javascript


30-days Money-Back Guarantee

Training 5 or more people ?

Get your team access to 19,000+ top Tutorialspoint courses anytime, anywhere.

Course Description

Fun and exciting way to practice JavaScript while building an interactive game from scratch.

Learn how to apply JavaScript - connect to elements - update and manipulate element content and attributes - create interaction with event listeners - create content dynamically - all done in a step by step format so you can learn explore and create your own version of the game.  Apply what you learn to your JavaScript projects to master working 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.

Source Code is included so you can try it for yourself, what is covered in the lessons.

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

Step by step learning with all steps included.

Beginner JavaScript knowledge is required as the course covers only JavaScript relevant to the building of the game.  Also HTML and CSS knowledge is essential as scope of this course is all JavaScript focused.   

Start building your own version of the game today!!!!

Who this course is for:

  • Beginners to JavaScript
  • Anyone who wants to practice writing JavaScript
  • Web developers
  • Anyone who wants to learn to make a JavaScript game without any libraries
  • Beginners to JavaScript curious about Document Object Model and JavaScript Methods


What will you learn in this course:

  • How to use JavaScript
  • How to create elements dynamically
  • Manipulate elements using JavaScript
  • Explore JavaScript Document Object Model


What are the prerequisites for this course?

  • Fundamental JavaScript concepts
  • Access to computer
  • Use of editor to write code
  • HTML and CSS knowledge
JavaScript in Action - bird flying game fun with the DOM


Check out the detailed breakdown of what’s inside the course

16 Lectures
  • play icon Flying Bird Game Introduction 02:17 02:17
  • play icon HTML CSS and JavaScript - Game Setup Structure 04:16 04:16
  • play icon Add Event Listeners - JavaScript element interaction 04:00 04:00
  • play icon Keyboard event tracking - JavaScript KeyPress Events 05:32 05:32
  • play icon Add element to page - JavaScript Create Elements - createElement Method 03:47 03:47
  • play icon JavaScript RequestAnimationFrame 07:10 07:10
  • play icon Move Conditions - JavaScript Game logic 02:42 02:42
  • play icon Wing Movements - Boolean values JavaScript 03:56 03:56
  • play icon Scoring and gravity - JavaScript game enhancements 03:30 03:30
  • play icon Game End Conditions - Game over with JavaScript 04:17 04:17
  • play icon Create Obstacles - Element creation using JavaScript 09:15 09:15
  • play icon Moving Obstacles - Select Element and update style properties JavaScript 05:39 05:39
  • play icon Handle Game Over on collision 01:32 01:32
  • play icon Game Code Review - Review game source code HTML CSS and JavaScript 12:30 12:30
  • play icon Bonus Add Color - Generate random color value JavaScript 01:59 01:59
  • play icon File Resources

Instructor Details

Laurence Svekis

Laurence Svekis

Instructor, GDE, Application Developer

I'm here to help you learn, achieve your dreams, come join me on this amazing adventure today
Google Developers Expert - GSuite

Providing Web development courses and digital marketing strategy courses since 2002.

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!"

Course Certificate

User your certification to make a career change or to advance in your current career. Salaries are among the highest in the world.

sample Tutorialspoint certificate

Our students work
with the Best

Related Video Courses

View More

Annual Membership

Become a valued member of Tutorials Point and enjoy unlimited access to our vast library of top-rated Video Courses

Subscribe now
People having fun around a laptop

Online Certifications

Master prominent technologies at full length and become a valued certified professional.

Explore Now
People having fun around a laptop

Talk to us