Learn how JavaScript COOKIES work! 🍪

Published: 23 April 2022
on channel: Bro Code
93,624
2.1k

#JavaScript #cookies #tutorial

// cookie = a small text file stored on your computer
// used to remember information about the user
// saved in name=value pairs

//console.log(navigator.cookieEnabled);
//document.cookie = "firstName=Spongebob; expires=Sun, 1 January 2030 12:00:00 UTC; path=/";
//document.cookie = "lastName=Squarepants; expires=Sun, 1 January 2030 12:00:00 UTC; path=/";
//let allCookies = document.cookie;
//console.dir(allCookies);


On this page of the site you can watch the video online Learn how JavaScript COOKIES work! 🍪 with a duration of hours minute second in good quality, which was uploaded by the user Bro Code 23 April 2022, share the link with friends and acquaintances, this video has already been watched 93,624 times on youtube and it was liked by 2.1 thousand viewers. Enjoy your viewing!