You want to learn how to detect in a web page if a mobile or desktop device has a screen with touch capabilities?
Let's see how we can do this using JavaScript today.
Full source: https://jsbin.com/vuwupux/32/edit?htm...
ZingTouch: https://zingchart.github.io/zingtouch/
Current-Device: https://github.com/matthewhudson/curr...
User agents database: https://developers.whatismybrowser.co...