Improved code.
Hashes the info into a new cookie instead of Getting the value.
Uses textContent instead of innerHTML to set the content of the limitedDetails element, since it doesn't contain any HTML.
Now Uses const instead of let for the limitedItem variable, since it is not reassigned.
Uses Array.from() instead of querySelectorAll() to convert the NodeList into an array.