Hemendra Ande
https://draande.github.io/Lab8_Starter/
Graceful degradation and service workers are related because service workers help a web application continue working when ideal network conditions fail. Graceful degradation is the concept of designing an application so that even if advanced features or modern conditions are unavailable, the app still provides a usable experience instead of completely breaking. Service workers support this by acting as a layer between the browser and the network, intercepting requests and serving cached HTML, CSS, JavaScript, images, and stored data when the internet is slow or unavailable. This allows the application to shift from a fully online experience to a limited but functional offline mode, letting users still access important content or core features rather than seeing a generic “No Internet” error page.