In this lesson, students learn about another event listener - keyboard interactions. Students learn how to listen for a keyboard press, and how to access information about each keyboard stroke.
Students will be able to:
keydown
and keyup
events to read keyboard informationkey.code
and key.key
, and when it’s appropriate to use eachThese are all the activities included in the lesson