Detect the Internet connection is offline or online using JavaScript

Detect the Internet connection is offline or online using JavaScript

More to explore