Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
mgrinko authored Jun 9, 2023
1 parent f802f28 commit 0d20a48
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ Hints:
- Use `hidden` class for hiding elements on page.
- Use `start`, `restart` classes for the main button for different styles.
- Use `field-cell--%cell_value%` class like additional class, don't replace the main class.
- Use `keydown` event and `event.key` property to handle arrow buttons presses
```js
document.addEventListener('keydown', event => console.log(event.key));
```

You can change the HTM/CSS layout if you need it.

Expand Down

0 comments on commit 0d20a48

Please sign in to comment.