Workshop › Sudoku › Step 16 of 28
When the puzzle is solved, a dark band across the middle three rows shows the time it took.
```js
if (won) {
ctx.fillStyle = 'rgba(15, 23, 42, 0.75)'
ctx.fillRect(0, TOP + 3 * SIZE, canvas.width, 3 * SIZE)
ctx.fillStyle = 'white'
ctx.font = 'bold 28px sans-serif'
ctx.textAlign = 'center'
ctx.fillText('Solved in ' + clock(seconds) + '!', canvas.width / 2, TOP + 4.5 * SIZE)
ctx.font = '18px sans-serif'
ctx.fillText('Click for a new puzzle', canvas.width / 2, TOP + 5.3 * SIZE)
}
```TOP + 3 * SIZE, three cells tall).TOP + 4.5 * SIZE is the middle of those rows.At the end of draw, under the time line, write the if (won) block.
Skills: Drawing on a canvas