Array.from(grid.querySelectorAll('.flexible-grid-item'))

      let rowGridLines = []
      let columnGridLines = []

      for (const element of gridElements) {
        const name = element.dataset.name

        const rowStart = parseInt(element.dataset.rowStart) - 1
        const rowEnd = parseInt(element.dataset.rowWidth) + rowStart

        const colStart = parseInt(element.dataset.colStart) - 1
        const colEnd = parseInt(element.dataset.colWidth) + colStart

        if (!rowGridLines[rowStart]) {
