B4Coder
0%
LessonAbout 6 min

Chapter 9 · Lesson 5 of 5

05. Listening for keys

React to keys with the keydown event: event.key says which one, so arrow keys can move things and Enter can add an item.

Opening the lesson…