Workshop › Frogger-style Crossing › Step 17 of 22
The far bank has four home slots, in columns 1, 4, 7 and 10: little bays of water in the bank.
```js
const HOMES = [1, 4, 7, 10] // columns of the home slots in row 0
HOMES.forEach((col, i) => {
ctx.fillStyle = '#1e3a8a'
ctx.fillRect(col * TILE, TOP, TILE, TILE)
})
```forEach runs the function for every item, with its index i (used in the next step).HOMES.draw, under the rows loop, draw the slots.Skills: Drawing on a canvas