Detect if user is on touch screen
Sometimes, it is useful to check if the user is on a touch screen. An example would be NOT to focus the textarea in touch screen. This is because the keyboard does not appear when user taps on the textarea.
Some code to detect touchscreen is shown be...
vijayt.hashnode.dev1 min read