Skip to content

Latest commit

 

History

History
12 lines (8 loc) · 474 Bytes

post-lecture-quiz.md

File metadata and controls

12 lines (8 loc) · 474 Bytes

Complete this quiz after the lesson by checking one answer per question.

  1. What's a fun way to show how many lifes a player has left
  • a number of ships
  • a decimal number
  1. How do you center text in the middle of the screen using the Canvas element
  • You use Flexbox
  • You instruct the text to be drawn at the x coordinate of: the client window width/2
  • You set the textAlign property to the value center on the context object.