JavaScript Master Mind Game

I created this game while working through the W3 Schools JavaScript tutorial. I later enhanced it by expanding its size, adding CSS for styling, incorporating a background image, adding a unique image for the game piece, and customizing the game button.

Use the light bulb to stay in the air, think about your next move, how long can you last?