Save data with local storage + JSON - Web Front-end Development | Lesson 37 (Free Coding Bootcamp)

preview_player
Показать описание
Free Coding Bootcamp - Go from Zero to Software Engineer

This Bootcamp will follow the roadmap covered in this video

In this lesson, we learn how to use local storage to save the state of our application. We also go over JSON and how it can be used with local storage.

🔥 Drop a comment to help the algorithm :)
👍 Subscribe to get notifications for the next video

-----------------
😎 Resources
-----------------
👯 TikTok
📸 Instagram
💬. Join the Discord
📜. FREE Resume Template
📕. FREE Note taking template

-----------------
👾 Important Videos
-----------------

-----------------
🧑🏻‍💻 About Me
-----------------
I am a full time iOS engineer, with over 7 years of programming experience.
My goal is teach you the bare minimum necessary to break into tech ASAP.

Learn more about my programming journey

I offer 1 on 1 mentorship as well, feel free to DM me on discord

#coding #bootcamp #learntocode #codewithvincent

-----------------
Chapters
-----------------
0:00 Introduction
0:15 Local storage
1:09 Simple example
1:50 Console Application
3:15 Add local storage to our app from Lesson 35
3:45 JSON
6:08 Map function
7:05 Comments as documentation
7:25 Cool projects to build
Рекомендации по теме
Комментарии
Автор

I forgot to mention 1 thing.
If you get errors from local storage:
1. Open the console
2. Go to Application
3. Delete the key, value pairs that is causing the error!!

Also what did you learn this lesson? :)

CodewithVincent
Автор

Hi vincent, Have a good day! Thanks a lot for teaching us <3

kk
Автор

Im not sure why but the:
if (storageCounter === null){}
line wouldn't work for me. Tried to change to
if (parseInt(storageCounter === NaN){}
A console.log before that line told me the value of that is in fact 'NaN'. But the statement would never trigger.
Ended up with this that works anyway:
if (storageCounter === null || isNaN(storageCounter)){}

Anyway, really cool to be able to use localstorage!

Ehxx
visit shbcf.ru