Workshop › Angry Birds-style Slingshot › Step 35 of 47
The score is written in the top-left corner, in dark bold letters.
```js
ctx.fillStyle = '#0f172a'
ctx.font = 'bold 16px sans-serif'
ctx.textAlign = 'left'
ctx.fillText('Score ' + score, 10, 22)
```font works like in CSS: bold, 16 pixels, any sans-serif typeface.textAlign = 'left' makes x the left end of the text.fillText(text, x, y) paints the text; 'Score ' + score joins the word and the number.At the end of draw, after the bodies loop and an empty line, write the four lines.
Skills: Drawing on a canvas