.className += showGradient ? " grid-cell-gradient-" + direction : " grid-cell-bg";
      if (showSquare) {
        let squareClass = "grid-square";
        squareClass += showGradient ? " grid-square-gradient-" + direction : " grid-square-bg";
        cell.innerHTML = "<div class=\"" + squareClass + "\"></div>"
      }
    }

    let layoutType = gridColumnsOrRows.value;
    if (layoutType == "fixedColumns" || layoutType == "autoColumns") {
      // Create the specified number of columns and three rows
    