Nothing here yet.
I am available for full-time remote-jobs, contract jobs and mentoring
In a real-world application, it would make sense to use this to make decisions; say trigger requests, enable PWA Install, disable features. But in your application here, where you need to show or hide elements based on the device type, CSS can comfortably handle those scenarios. It would be over-engineering - if you decided to use javascript to show and hide elements based on device type.