View Code? Open in Web Editor
NEW
Check Internet Connection Status
HTML 15.91%
JavaScript 46.80%
CSS 37.29%
internetconnectionstatus's Introduction
- ๐ Hi, Iโm @khagapati-bagh
- ๐ Iโm interested in solving problems using my CS skills to help people what they want to achieve.
- ๐ฑ Iโm currently exploring more on Java and JavaScript.
- ๐๏ธ Iโm looking to collaborate on solving meaningful problems.
- ๐ซ How to reach me https://khagapati-bagh.github.io/khagapati/ check this once.
internetconnectionstatus's People
Watchers
internetconnectionstatus's Issues
Add CSS code, so the text will show in the middle and be bigger in size.
Add script, if the state change from Online to Offline or vice versa, then it'll refresh, without a manual refresh.
Use https://ip-api.com/ to get the details about the Internet. Get the response in JSON format and parse it to show the value of ISP name.
Show the ISP name only when the user is ONLINE and when the user hover over the div.
like this when user hover over the div
Move the JavaScript code from index.html to script.js and read that in index.html
status online: #32bf00;
status offline: #cc3300;