diff --git a/_notebooks/help-system/local-storage/2025-01-07-local-storage-Hacks.ipynb b/_notebooks/help-system/local-storage/2025-01-07-local-storage-Hacks.ipynb
deleted file mode 100644
index 571c679..0000000
--- a/_notebooks/help-system/local-storage/2025-01-07-local-storage-Hacks.ipynb
+++ /dev/null
@@ -1,121 +0,0 @@
-{
- "cells": [
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "---\n",
- "layout: post\n",
- "title: Local Storage Hacks\n",
- "author: Matthew Borg\n",
- "description: Carti once told me that to master Local Storage, you have to complete the following hacks.\n",
- "permalink: /local-storage/Hacks/\n",
- "menu: nav/local_storage.html\n",
- "toc: true\n",
- "---"
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "# Local storage Hack #1\n",
- "\n",
- "Heres a quick first hack for local storage that can help you understand the basics of it. As seen before, the following code can be used for storing and retrieving data after refreshing the session by local storage.\n",
- "\n"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": null,
- "metadata": {
- "vscode": {
- "languageId": "html"
- }
- },
- "outputs": [],
- "source": [
- "\n",
- "
\n",
- " \n",
- " \n",
- " \n",
- "
\n",
- "\n",
- ""
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "Now, try changing some stuff in the above code, like change cat to anything you want, but most importantly, try to change some parts of the code like change the \"No data found\" to something similar and change some visuals like the color and the sie"
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "# Local Storage Hack #2\n",
- "\n"
- ]
- },
- {
- "cell_type": "code",
- "execution_count": null,
- "metadata": {
- "vscode": {
- "languageId": "javascript"
- }
- },
- "outputs": [],
- "source": [
- "\n",
- "const data = {\n",
- " userID: GameEnv.userID,\n",
- " time: GameEnv.time - 10,\n",
- " coinScore: GameEnv.coinScore,\n",
- " date: new Date().toString(),\n",
- " gameSpeed: GameEnv.gameSpeed,\n",
- " difficulty: GameEnv.difficulty\n",
- "};\n",
- "\n",
- "const currDataList = JSON.parse(localStorage.getItem('localStorageTimeKey')) || [];\n",
- "\n",
- "currDataList.push(data);\n",
- "localStorage.setItem('localStorageTimeKey', JSON.stringify(currDataList));\n"
- ]
- }
- ],
- "metadata": {
- "kernelspec": {
- "display_name": "Python 3",
- "language": "python",
- "name": "python3"
- },
- "language_info": {
- "codemirror_mode": {
- "name": "ipython",
- "version": 3
- },
- "file_extension": ".py",
- "mimetype": "text/x-python",
- "name": "python",
- "nbconvert_exporter": "python",
- "pygments_lexer": "ipython3",
- "version": "3.12.3"
- }
- },
- "nbformat": 4,
- "nbformat_minor": 2
-}
diff --git a/_notebooks/help-system/local-storage/2025-01-07-local-storage-hacks.ipynb b/_notebooks/help-system/local-storage/2025-01-07-local-storage-hacks.ipynb
index 571c679..f952556 100644
--- a/_notebooks/help-system/local-storage/2025-01-07-local-storage-hacks.ipynb
+++ b/_notebooks/help-system/local-storage/2025-01-07-local-storage-hacks.ipynb
@@ -9,7 +9,7 @@
"title: Local Storage Hacks\n",
"author: Matthew Borg\n",
"description: Carti once told me that to master Local Storage, you have to complete the following hacks.\n",
- "permalink: /local-storage/Hacks/\n",
+ "permalink: /local-storage/hacks\n",
"menu: nav/local_storage.html\n",
"toc: true\n",
"---"