RGB GAME


I done this game following the course on Udemy "The Web Developer Bootcamp" by Colt Steele.

There is 6 square with different color, you have to guess the one whit the color descripted by the title. The logic is the following:

  • I create 6 different square with random colors
  • with a random function I choose one of this square and I print the title
  • if you click to the square that corrispondig to the title color you win