DEV Community

Cover image for We build a T-REX RUN! Game in JavaScript
Ania Kubow
Ania Kubow

Posted on

6 1

We build a T-REX RUN! Game in JavaScript

Hello and welcome to another JavaScript Game Walkthrough!

In this walkthrough, I show you how to build the popular Dino Chrome Game in pure JavaScript, HTML and CSS, no fancy frameworks required! We also will not be using Canvas, we are going to be using pure JavaScript logic for everything!

I like this tutorial as we really focus on nodes, so adding Children to parents using .appendChild(), but also removing them using .removeChild() and a few others.

I will also be showing you how to make sure your code is the best possible version of itself it can be by using a platform called Embold. I will walk you through this step by step at the end so make sure not to miss.

UPDATE:
I collaborate with Embold and they provide us with a 20% off discount code as well!
Code: GB546C10
Website link: https://bit.ly/embold-platform

Thanks for coding along with me! I would love to see your finished games, how you have taken them to that extra level! Please do share them with me on Twitter, Instagram, or Youtube!

https://www.youtube.com/aniakubow
https://www.twitter.com/ania_kubow
https://www.instagram.com/aniakubow
Code Editor: VSCode
keyCodes: https://www.keycode.info

SurveyJS custom survey software

JavaScript UI Libraries for Surveys and Forms

SurveyJS lets you build a JSON-based form management system that integrates with any backend, giving you full control over your data and no user limits. Includes support for custom question types, skip logic, integrated CCS editor, PDF export, real-time analytics & more.

Learn more

Top comments (0)

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay