Sure! Here's an example of a basic racing game using JavaScript and HTML:
In this simple racing game, you control a red car using the left and right arrow keys. The car moves horizontally within a track represented by a container div. The game registers key events to control the car's speed and updates its position accordingly. The car is represented by a red rectangle.
This is a basic implementation, but you can enhance it by adding more tracks, obstacles, opponents, and visual elements such as GT race cars and animated backgrounds.