JS Function only runs if key is pressed - YouTube

JS Function only runs if key is pressed - YouTube

More to explore