Name the essential task
For a reading page, the baseline may be opening the document, following links and reaching each section. Those tasks can work with ordinary HTML. Styling improves hierarchy and layout. A script might add a convenience, but the reader should still have a route to the content if that convenience is unavailable.
Enhance according to capability
A browser’s name alone does not describe every condition in which a page runs. A resource may fail to arrive, a feature may be unsupported, or a user may need a different interaction. Capability checks and accessible alternatives help enhancements remain additions to the baseline. More elaborate behavior also creates more situations to review.
Keep the ordinary route
Hypothetical example: a long handbook offers a script-powered section filter. The complete linked contents list remains available when the script does not run. The filter helps readers find a section faster, while the original links still reach every chapter. Reviewing both experiences makes the dependency visible: which parts are essential, which are convenient, and what a reader can do when only the essentials arrive?
Essential: content and working links
Enhanced: optional ways to find them fasterFurther reading: MDN: progressive enhancement.