Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add alert box to confirm cookies clearing #8

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

AnnaelleS
Copy link

  • Add new alert box with two buttons in it to confirm or cancel Cookies Clearing
  • Update click listener on Clear All Cookies button to call new function appendAlertClearCookies() that displays the alert
  • Add new function hideAlertClearCookies() called on the alert's cancel button that hides the alert
  • Link the clearAllCookies() function to the newly added confirmation button eventListener
  • Call the hideAlertClearCookies() function inside of clearAllCookies() function to hide the alert box when user confirms.

@vinitshahdeo
Copy link
Owner

@AnnaelleS That's great. I'll review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants