text: 
  // reset button?
  // add Hue and Hex options
  // dark theme?
  
  var diffEls = document.querySelectorAll(".diff__btn");
  var diffEl = document.querySelector(".diff__btn.active").innerHTML;
  var n = diffEl;
  var colorsEl = document.querySelector(".colors");
  var colorsBlocks;
  var rgbEl = document.querySelector(".rgb");
  var statusEl = document.querySelector(".status");
  var colors = [];
  createBlocks(n);
  resetGame();
  
  function checkColors(e) {
    if (colors[pickedColor] === e.target.style.backgroundColor) {
      statusEl.innerHTML = "Good job!<br>A new game will start right now.";
      document.body.style.color = colors[pickedColor];
      for (var i=0; i<colorsBlocks.length; i++) {
        colorsBlocks[i].style.backgroundColor = colors[pickedColor];
      }
      resetGame();
    }
    else {
      e.target.style.backgroundColor = "transparent";
      statusEl.innerHTML = "Try again!";
    }
  }
  
  function resetGame() {
    setTimeout(function() {
      createBlocks(n);
      document.body.style.color = "black";
      colors = [];
      pickColors();
      pickedColor = random(n);
      rgbEl.innerHTML = colors[pickedColor];
      setColors();
      statusEl.innerHTML = "Try to guess the right color based on the RGB value by clicking on the blocks.";
    }, 1000);
  }
  
  function setColors() {
    for (var i=0; i<colorsBlocks.length; i++) {
      colorsBlocks[i].style.backgroundColor = colors[i];
    }
  }
  
  function pickColors() {
    for (var i=0; i<n; i++) {
      colors.push(randomColor());
    }
  }
  
  function randomColor() {
    return "rgb(" + random(255) + ", " + random(255) + ", " + random(255) + ")";
  }
  
  function random(r) {
    return Math.floor(Math.random()*r);
  }
  
  for (var i=0; i<diffEls.length; i++) {
    diffEls[i].addEventListener("click", setN);
  }
  
  function setN(e) {
    for (var i=0; i<diffEls.length; i++) {
      diffEls[i].classList.remove("active");
    }
    e.target.classList.add("active");
    diffEl = document.querySelector(".diff__btn.active").innerHTML;
    n = diffEl;
    resetGame();
  }
  
  function createBlocks(num) {
    colorsEl.innerHTML = "";
    for (var i=0; i<num; i++) {
      var block = document.createElement("div");
      block.classList.add("colors__block");
      colorsEl.appendChild(block);
    }
    colorsBlocks = document.querySelectorAll(".colors__block");
    for (var i=0; i<colorsBlocks.length; i++) {
      colorsBlocks[i].addEventListener("click", checkColors);
    }
  }
  