Skip to content

Trivia.jsx : Local High Score Persistence #80

@venisha-kalola

Description

@venisha-kalola

Store and display the highest quiz score locally using localStorage.
Users should be able to see their best score even after reloading the page.

Requirements:

Save the highest score at the end of each game session.
Retrieve and display it on the home or result screen.
Add a “Reset High Score” button for clearing saved data.

Acceptance Criteria:

High score persists between sessions.
If a new score exceeds the saved one, it updates.
Works without backend support.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions