Workshop › Missile Command-style Defense › Step 23 of 35
The score is written in the top-left corner with fillText.
```js
ctx.fillStyle = 'white'
ctx.font = 'bold 16px sans-serif'
ctx.textAlign = 'left'
ctx.fillText('Score ' + score, 10, 22)
```font is the size and typeface; with textAlign = 'left' the point is the text's left end.'Score ' + score joins text and a number; fillText paints it at (10, 22).In draw, under the explosion loop, leave an empty line and write the four lines.
Skills: Drawing on a canvas
← Points for every missile Limited ammo →