Lately, I've been putting the final touches on my website to present to potential employers as I will soon be starting my job search after graduation. I recently added an "about" section with parallax scrolling effect, but unfortunately, it's not functioning properly on mobile devices. You can see what I mean here:
My plan is to remove the parallax effect altogether for devices with a width less than 900px, or any other specified amount. Instead, I'd like to display a more traditional about me page. How can I use JavaScript to detect the device being used and show different HTML content or redirect to a separate page if necessary for those specific devices?
I would greatly appreciate any advice on the best way to address this issue. Thank you in advance for your help!