Network connection checking App showing the network status and display image and txt accordingly Demo Click the link below and change network setting to see the app affect https://on-and-off.vercel.app/ When connected display will show below: When no internet connection display will show below: