Skip to content

This repo is a project developed using user interactions in cookies.

Notifications You must be signed in to change notification settings

betuloran/cookie-banners

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cookie banners 👩‍💻

This project demonstrates how to create and manage cookie banners using JavaScript. It includes functions to set, get, and handle cookies, as well as show and hide cookie banners based on user interactions.

Features

  • Set Cookies: Function to set cookies with a specified expiration date.
  • Get Cookies: Function to retrieve the value of a specified cookie.
  • Show/Hide Cookie Banners: Functions to show or hide cookie banners based on whether a specific cookie is set.

Prerequisites

Make sure you have the following installed:

Installation

  1. Clone the repository to your local machine:

    git clone https://github.com/betuloran/cookie-banners.git
    
  2. Navigate to the project directory:

    cd cookie-banners
    

Usage

To view the site locally, simply open the index.html file in your preferred web browser.

Live

https://cookie-banners.vercel.app/

About

This repo is a project developed using user interactions in cookies.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published