All right, come back, the finger wiggling indecision is how to make our cards U.S. parasitic and persistent,
because if it's right to read this page, I'm going to have to lose all my products in cards.
So reason why we are going to learn how to make your cards president, it does reloads nothing.
So what are we to do?
Let us go back to your cards and we are going to come where we have a product to cards.
OK, we are going to make our cards persistent in the after here.
We don't say by using the local storage.
So what we're going to say, we are going to say I'm going to call the local storage, that state item
like this and we're going to court these items, OK, like this.
We are going to it is legislation.
We are sitting like, yes, they are items.
We have perimeters in.
The second parameter is going to be equal to the dot string, you say.
And here we are going to take the content that we have here called items ported here.
And we are going to set these in local storage and we are going to get these local storage here in every
state.
So we are going to come here.
This is the second condition, if nothing in cards.
So to say that you are going to stay here, local storage.
Local storage, not Gates item, and here we are going to get this item, which is items like this,
and we're going to ask a question if we have something to get which is covered items question and we're
going to say, if true, have they don't pass, OK?
And we are going to say here, I said, look, Hurstbridge, don't get item.
And here in uproots and current items like this again, and sales, if nothing to get, we are going
to have an empty erry leaders load's page.
Click on Add to Cart.
Yes, Willott.
Nothing happened.
OK, so now see, our ID card is not a purse these things.
And let us see, for example, if I remove and if I try to reloj you want to see.
The remove is not París and this part is still persistance.
So the desire is to make this something with the remorse.
And if it's right to remove card, even if I realize this page I care to remove differently.
OK, differently these parts and let us come here, we are going to do the same thing with the remove
function.
We're going to say look for storage, kickboard state, items like this.
We're going to see also items.
OK, this is first parameter, Jason.
OK, uh oh.
String you say.
And we're going to put the Konstanz, which is called items.
OK, yes.
And if I click on remorse, if I try to reload the records, click here or reload.
Each year we moved, the first elements reloads, very good, and our Ricard's is peerages things.
OK, and we're going to continue on in the next video.