Uploaded May 2023 | Updated September 2026, 2 weeks ago
Knowing how to change the text on a webpage can be very useful. I'll teach you how to use the Google Chrome Dev Tools to change the text on any webpage. I'll also teach you how to use JavaScript in the Dev Tools console to animate the text and make a counter. The animated counter can be customized to be as fast as you want.
In this video I practice on my YouTube Studio page and give myself a fake subscriber count as a joke. But you can use it in more real contexts like if you want to hide some confidential information on a page before taking a screenshot to use at school or work.
To format the subscriber count in the same way YouTube does, using comma separators, I used the function from here:
stackoverflow.com/questions/2901102/how-to-format-a-number-with-commas-as-thousands-separators
Knowing how to change the text on a webpage can be very useful. I'll teach you how to use the Google Chrome Dev Tools to change the text on any webpage. I'll also teach you how to use JavaScript in the Dev Tools console to animate the text and make a counter. The animated counter can be customized to be as fast as you want.
In this video I practice on my YouTube Studio page and give myself a fake subscriber count as a joke. But you can use it in more real contexts like if you want to hide some confidential information on a page before taking a screenshot to use at school or work.
To format the subscriber count in the same way YouTube does, using comma separators, I used the function from here:
stackoverflow.com/questions/2901102/how-to-format-a-number-with-commas-as-thousands-separators







![Tilt Control for JavaScript Games [Understanding AI - Lesson 12 / 15]
PLAYLIST: https://www.youtube.com/playlist?list=PLB0Tybl0UNfYbL1vDNrfHoYOKf1Sn0A81
Remember those early mobile games where you could steer by tilting the phone? In this video, Ill guide you through using the device orientation sensor to capture tilt movements. Its a fantastic technique that opens up a world of possibilities for game control.
Lets explore the potential of this feature not just for games, but for other applications too. Ill share my friends creation, Jazzman vs. Metalheadz, which showcases the versatility of tilt controls.
The applications extend beyond gaming – think about measuring tree heights or distances to distant objects. If youre interested, I have tutorials on those topics as well. Towards the end of the video, Ill demonstrate how to integrate tilt controls into our racing game, tying it back to the Understanding AI course.
So, let me steer you in the right direction for implementing device orientation in your projects. And by the way, did I mention well be doing some nononooooo again? You wont want to miss it! Like, share, and subscribe for more exciting tutorials on AI, game development, and innovative programming techniques!
💻CODE FOR THE RACING GAME PART💻
https://github.com/gniziemazity/understanding_ai
Follow Along: 7. Camera Part 2
Code After This Lesson: 8. Phone Input
💬DISCORD💬
discord.gg/gJFcF5XVn9
⭐LINKS⭐
TEST on My Website: https://radufromfinland.com/projects/phoneRacer
Self-driving Car Course: https://www.youtube.com/playlist?list=PLB0Tybl0UNfYoJE7ZwsBQoDIG4YN9ptyY
Measuring Tree Height Tutorial: https://youtu.be/0hxNFuo5Ncc
Measuring Distance Tutorial: https://youtu.be/qjuQYFdcSxw
Jazzman vs. Metalheadz: https://play.google.com/store/apps/details?id=com.matti.mononen.jazzman
#RacingGame #RacingGameJavaScript #OrientationSensorJavaScript #JavaScriptDeviceOrientation #LearnJavaScript
⭐TIMESTAMPS⭐
00:00 Introduction
01:29 Basic Project Setup
08:15 Using Device Orientation
15:47 Using Gravity
20:25 Integrating with the Racing Game Tilt Control for JavaScript Games [Understanding AI - Lesson 12 / 15]](https://i.ytimg.com/vi/ZgjDeO_EzY4/mqdefault.jpg)


