JavaScript Flappy Bird Game

I made this game while completing the W3 Schools JavaScript tutorial. Then I enhanced the game by making it larger, adding CSS, and a background image to the game.

Use the FLAP WINGS button to stay in the air. How long can you fly?