8th Aug 2024, 4:03 PM
Joshua Tull
Joshua Tull - avatar
1 Respuesta
0
Try removing 'src' attribute & value from the <script>, the script is directly embedded in the HTML document, not coming from external source (file). Unfortunately though, even with that change on my part, data fetching was still unsuccessful (I'm online though), don't know why. Some stuffs might worth a read https://dev.to/maxmonteil/is-your-app-online-here-s-how-to-reliably-know-in-just-10-lines-of-js-guide-3in7 https://www.freecodecamp.org/news/how-to-check-internet-connection-status-with-javascript/
8th Aug 2024, 6:10 PM
Ipang