when my prof spent 2 lectures trying to explain this but this video explains it better in 15 minutes lmao
@ahmederaqi5 жыл бұрын
very clean video
@HashimWarren5 жыл бұрын
This is the best explanation on localstorage I've found. Super clear, all substance, no filler
@KennieDevCamp4 жыл бұрын
This tutorial is well detailed, hit the nail on the head type of content, no withholding knowledge. Ver good!
@tonypatino17653 жыл бұрын
Amazing video!
@chiefdakwa32554 жыл бұрын
Great tutorial. Concise and great presentation. Thanks man
@FayettepressWebDesign6 жыл бұрын
This was a fantastic explanation! Clear, concise, and well-structured. Thanks for doing such a great job!
@joq63564 жыл бұрын
Thank you for this video! Really help clear up things!
@amazingguys81696 жыл бұрын
Best Explanation Ever!!!!!!!
@HappyMomof82 жыл бұрын
Just what I needed! Thank you!
@sdvloger6215 жыл бұрын
Very nice explanation on local host like it + love it
@saravafaei7708 Жыл бұрын
It was very clear. Thank you ❤️
@subbu26775 жыл бұрын
Awesome explanation bro ....
@youngbuzzy15 жыл бұрын
The explanation is well defined. It is very clear, thanks
@greggfineguitar6 жыл бұрын
Well presented, very clearly explained!
@iancarr39235 жыл бұрын
Very useful - easy to understand. Thanks
@viktornerlander14096 жыл бұрын
This is huge. Thank you so much!
@Bayo1064 жыл бұрын
Thanks I think I've learnt a lot here
@syedkashifnaqvi12685 жыл бұрын
very clean video
@elladitch96985 жыл бұрын
Really helpful, Thx, Zac!
@kunalpandey71895 жыл бұрын
thanks a lot...this was very helpful
@easyeli7285 жыл бұрын
Thank you!
@nayeemshaik59104 жыл бұрын
really helpful thank you
@abrahamnalisi46485 жыл бұрын
So helpful. Thanks man
@EricFu-qh5fw6 жыл бұрын
thank you so much, Great Help!
@zolisawelani93385 жыл бұрын
This I enjoyed.
@goldbee30915 жыл бұрын
what if you want to use this for the values of radios, checkboxes or the select dropdown menus?
@lukescheller72166 жыл бұрын
Awesome tutorial! Quick question, roughly how many entries can you store in localStorage?
@rudolfolah77736 жыл бұрын
Juno Lee I think it's more about memory limitations, I remember seeing a small number like 2 MB. So you can have a lot of small entries or a few large ones.
@shivanibali20886 жыл бұрын
Perfect!
@smoothsan3072 Жыл бұрын
hi sir, value on localStorage still can be retrieve on new tab ? i mean, the value on local storage not dissapear even on new tab ?
@binsarharseno6 жыл бұрын
thank you is very helpful :)
@nageshbk15 жыл бұрын
sir, I am not a software engineer, I can never forget those old days late nineties with slow internet connection. Those days we could go back to the visited web pages in case internet connection breaks . that thing is not available in modern browser Now every time inter connection breaks we got download the page again. Is it possible to use or configure local storage as of that time
@jesusgonzalez70594 жыл бұрын
I would avoid using the same name for the variable and the localStorage variable ... it may confuse people. Irecomment the var to besomething like myValue and the localStorage var as something else...this way people can distinguish what is what. Other than that...great video!
@autopilot69426 жыл бұрын
How can you use data in local storage to display on another page? Like clinking on a link on one page to display JSON data on another with that local storage? Ex: a link to a product details page! Thanks
@mycloudvip6 жыл бұрын
AWESOME... Can this work for saving this type of data into a remote s3 bucket? using JS? thanks
@ZacGordon6 жыл бұрын
Well you would have to access s3 using it's own API. There is no built in integration between S3 and local storage
@JeZZGro4 жыл бұрын
How about array of objects?
@cmtg44714 жыл бұрын
How many storage there are in android webview
@FauziJabbar5 жыл бұрын
Seperti session in php ~ and wait what different with cache ?
@geeksinsuits6 жыл бұрын
what data types can local storage to store ?
@ZacGordon6 жыл бұрын
Strings, which is why we convert to JSON, which is a string 👍
@zlackbiro5 жыл бұрын
You dont need to stringify when you setItem if your object has couple of keys. You can do hybrid one. You can save it as Object directly and pull data getItem but split(" ") the output from getItem results. Example: localStorage.setItem("name", "key1=5 key2=10") var stored = localStorage.getItem("name") var data = stored.split(" ") var value = data[0].split("=") alert("key1: " + value[1]) Also, you can get localStorage without getItem. You can call your item by localStorage["itemName"] loop true the localStorage searching multiple items witch starts with item123, item233, item333: var storage = Object.keys(localStorage) for (var i = 0; i < storage.length; i++) { if (storage[i].includes("item")){ divTag.innerHTML += localStorage.getItem(i) }} 😎
@NuncNuncNuncNunc5 жыл бұрын
I would not recommend this splitting on a delimiter method. JSON.stringify and JSON.parse are more general, easier to read, browser tools understand JSON, other developers (including the future you) understand JSON.
@yimiyyussef4 жыл бұрын
I tried your method, it doesn't store to localStorage
@mihaiimihaii55304 жыл бұрын
dont work
@shawnbks90907 жыл бұрын
not a very good teacher at all.
@StyledJavaScript6 жыл бұрын
Not a very informative comment at all.
@dansintean68206 жыл бұрын
if(numOfArguments < 1) { ignoreComment(); }
@igordjurdjic73806 жыл бұрын
Delete comma before your curly brace and that function will gladly work :) :D