---
title: "Discussion on \"How to Save High Scores in Local Storage\" | Hashnode"
description: "Discussion on \"How to Save High Scores in Local Storage\". After creating a game, it would be nice to save our best scores. If we only save the score in memory it will be gone the next time we play. Instead, we can save the scores in the browser’s local storage.\nThis article steps through how to save high sc..."
url: "https://hashnode.com/posts/how-to-save-high-scores-in-local-storage-7860baca9d68/6071de938b2b857c0bdb60ea"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to Save High Scores in Local Storage](https://blog.michaelkaren.dev/how-to-save-high-scores-in-local-storage-7860baca9d68?utm_source=hashnode&utm_medium=feed)

After creating a game, it would be nice to save our best scores. If we only save the score in memory it will be gone the next time we play. Instead, we can save the scores in the browser’s local storage. This article steps through how to save high sc...

Jan 11, 2021 · 5 min read · blog.michaelkaren.dev  
Updated May 13, 2021  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#game-development](https://hashnode.com/tag/game-development)
-   [#localstorage](https://hashnode.com/tag/localstorage)

## Written by

[Michael Karén](https://hashnode.com/@melcor76)

@melcor76 · Oslo, Norway

  
[View profile](https://hashnode.com/@melcor76)

Frontend Architect • JavaScript Enthusiast • Blogger

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
