Codemo Playground
  • Getting Started
  • General UI
  • Dynamic UI
  • Browser Interactions
  • Storage & State
    • Cookies
    • Local Storage
  • API
  • Beehive
Back to Home
Storage & State

Cookies

Practice adding, retrieving, and deleting browser cookies
Get Cookie
Click Set Cookie to create a browser cookie, then validate by typing the cookie value into the input and clicking validate.

Cookie name: cookie_playground_get

Set Cookie
Set a cookie name and value before the page loads, then validate by clicking validate only.
Cookie name: cookie_playground_seeded Cookie value: codemo-seeded

A cookie with the expected name and value should already be present

Delete Cookie
Delete a cookie before validation, then confirm it is no longer present.
Cookie name: cookie_playground_delete

Delete the cookie , then validate after it is gone.