How to detect if user is on a PC with javascript
<p>I am creating a website with node.js, which I will make a mobile app. The app will just open the website, and app users can use it from there. However, I would like to detect if the site is accessed on a PC. If it is detected on a PC, I will show a page that gives the user a link to the app on the app store for example. How can I detect if my site is being accessed from a PC? Thanks!</p>