Workshop › Wordle-style Word Guess › Step 20 of 26
Every rectangle from keyRects() becomes a grey key with its label in white capitals.
```js
ctx.font = 'bold 14px sans-serif'
for (const k of keyRects()) {
ctx.fillStyle = '#71717a'
ctx.fillRect(k.x, k.y, k.w, k.h)
ctx.fillStyle = 'white'
ctx.fillText(k.label.toUpperCase(), k.x + k.w / 2, k.y + k.h / 2)
}
```for (const k of list) runs once per key.In draw, under the grid loops and above the message lines, leave an empty line and write the keyboard lines.
Skills: Drawing on a canvas
← Where the keys go Tap a key →