In this video, you'll learn how you can get the device/browser's connectivity to the internet. i.e if the device is online or not by just plain/native JavaScript and it's rather a pretty simple.
Hint: We'll be using the browser's in-built navigator object interface for the same.
You can read more about it on my blog as well: https://www.amitmerchant.com/check-de...