-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Description
To demonstrate the importance of semantic HTML and the power of CSS, implement a "Time Machine" mode that strips away all styling, effectively taking the user back to the "early web" (circa 1991).
User Story
As a curious developer, I want to see the underlying HTML structure of the page without styles, so that I can verify the semantic quality of the markup.
Acceptance Criteria
- Trigger: The mode activates when the user adds
?time=1990to the URL (e.g.,https://barrys27.github.io/?time=1990). - Effect:
- Programmatically disable the main
style.cssstylesheet. - The page should render as black text on a white background with default browser fonts (Times New Roman).
- (Optional) Show a browser
alert()saying: "Welcome back to 1990. CSS hasn't been invented yet."
- Programmatically disable the main
- Revert: Reloading the page without the parameter should restore the modern design.
Technical Implementation
Check window.location.search in script.js. If the parameter exists, find the <link> tag for the stylesheet and set .disabled = true.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request