# Custom block shop

database has to do with browser data, browser data and cookies are different

do you?

i think @spacer would want something like this, where the radius of the circle is the input

the center of the circle would be the origin point (its corner of the circle) plus r taxicab distance to the direction of the center of the rectangle. and the radius of the circle is obviously r

do you see any code same of

and this?

image from https://www.w3schools.com/html/html5_webstorage.asp
this is called web storage and it says its better than cookies

...yeah, that's what the database library does...

also this has the same code of

and

you asked me to make getters and setters for cookies. that project has getters and setters for cookies.

ok then, i think its possible to make my own right?

yea, probably, but then why did you ask for them?

w3schools.com helped me with a lot of coding,

good for you.

yeah...

ok i finished the project of cookies, i could not do web storage because its too complicated

I think local storage is easier because it has easy methods:

localStorage.setItem("key", "value");
localStorage.getItem("key");
localStorage.removeItem("key");


but for cookies (which may have expiration dates), they are stored in a single string and are more complicated to remove or access.

hey @helicoptur?

ok, but you said