I needed a piece of code to check whether the user is viewing the website from a mobile device like an iPhone or Android phone. So here is a function that I made that’ll help you if you need the same. This code is not the best to be used to make design changes according to […]