Workshop › Rhythm Lanes › Step 14 of 35
A new player should see which key goes with which lane: we write D, F, J and K under the hit lines.
```js
ctx.fillStyle = 'white'
ctx.textAlign = 'center'
ctx.font = 'bold 14px sans-serif'
;['D', 'F', 'J', 'K'].forEach((k, lane) => ctx.fillText(k, LEFT + lane * LANE_W + LANE_W / 2, HIT_Y + 40))
```textAlign = 'center' centres the text on x; font picks bold 14-pixel letters.forEach runs once for each letter: k is the letter and lane its position.fillText(text, x, y) paints it in the middle of the lane, 40 pixels under the hit line.; because it starts with [: without it JavaScript would glue it to the line above.In draw, under the notes loop, leave an empty line and write the four lines (before the function's last }).
Skills: Drawing on a canvas
← Keys for the lanes Hit the closest note →