From 804b6b0c539d0686e2b5352e6f54378b7432d447 Mon Sep 17 00:00:00 2001 From: robertmcabee <82921822+robertmcabee@users.noreply.github.com> Date: Mon, 24 Jan 2022 11:53:34 -0700 Subject: [PATCH] fix formatting, change wording for clarity --- 6-data-storage/01-cookie/article.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/6-data-storage/01-cookie/article.md b/6-data-storage/01-cookie/article.md index 6aa97b4926..2667b6948e 100644 --- a/6-data-storage/01-cookie/article.md +++ b/6-data-storage/01-cookie/article.md @@ -419,10 +419,10 @@ GDPR is not only about cookies, it's about other privacy-related issues too, but ## Summary -`document.cookie` provides access to cookies -- write operations modify only cookies mentioned in it. -- name/value must be encoded. -- one cookie must not exceed 4KB, 20+ cookies per site (depends on the browser). +`document.cookie` provides access to cookies. +- Write operations modify only cookies mentioned in it. +- Name/value must be encoded. +- One cookie may not exceed 4KB in size. The number of cookies allowed on a domain is around 20+ (varies by browser). Cookie options: - `path=/`, by default current path, makes the cookie visible only under that path.