is there a simple way to figure out whether a user is on mobile or desktop. I want to trigger a notification that the app is well suited for desktop in case a user visits the app on mobile.
Just trying to figure out best practices on weweb.
The easiest thing you can do is create your notification (eg. a banner) and make it display off for desktop size screen, and display on for everything else.
Just select the element and change the display property after you select the screen size