I read this about interaction media which is explain how css can detect if pointer is touchscreen or not. It's using @media query like
@media (pointer: coarse){ body{ // do something } } but I just wonder how to implementing it using javascript ot JQuery, is it possible?
Thank you