Cookies are information stored by websites on your computer but how much data can cookies store?
I found this at How Many Cookies Can You Use on One Website Updated October 09, 2016
COOKIE SIZE LIMITS YOU SHOULD FOLLOW To be compatible with most browsers, you should not create more than 30 cookies per domain and all 30 cookies should not occupy more than 4 KB of space (4096 bytes).
If you intend to extrapolate these limits, use localStorage (HTML5 - local storage). With the localStorage the storage limit is much higher (at least 5 MB).