document.querySelctor('.class_name')using query selector you can grab the html tags by its class- To add an event listener to any key of a keyboard e.g. 'Enter' (13) key, you can do it like this:
![]() |
| example of query selector and event listener within a module |
![]() |
| change keyCode to any code of the keyboard. |


No comments:
Post a Comment