HTML, CSS & JavaScript - How to Create a Cookie Consent Message

preview_player
Показать описание
In this video, we'll show you how to create a cookie consent message and a cookie with an expiration date so the message does not show up every time the user visits the website.

More information on how to create a cookie (very easy to follow):

Sponsor me on GitHub!

Follow my blog:

Рекомендации по теме
Комментарии
Автор

You've got a subscriber. Thank you so much for this helpful video. Keep 'em coming...

joebalingit
Автор

Very well explained! Thx so much, it was so helpful!

mihaelabalaceanu
Автор

Great video! I have been looking for a good cookie banner for some time. Well explained, well coded, simple to follow. Thank you! One more subscriber here!

nigelhammond
Автор

Hey Sir, your Tutorial helped me alot, thank you and keep it up.

EinDummie
Автор

why we need it (click to store cookie)? i saw many website have done this. please make a video of benefit of it?

yoskokleng
Автор

Easy to follow, gets the job done, works flawlessly -> Subscribed! + Liked! + Shared!

kageyoshi
Автор

i have a question i never saw in my cookie menu with the inspect mode one that says cookie true so now i cant see the cookie and i have to show it to my teacher

jadnk
Автор

Question here ... To be 100% compliant .. should this "consent" be stored somewhere?

jfpicard
Автор

Thanks for the video very helpful. Im having an issue, i set the expiration date and create the cookie. The exp date shows fine, but when I refresh my browser the exp date changes to “session”. Any idea why? Thanks

chupacabrapr
Автор

Great video, what editor are you using?

agritech
Автор

Can u please help me, uncaught references error: data is not defined at setCookie ??

rjapade
Автор

can you please help me, i followed every step, but the paragraphe inside the cookies container is empty

bilalbehar
Автор

Thanks! how to give the user option to reject the cookie?

xchen
Автор

i getting this error :
default.js:34 Uncaught TypeError: Cannot set properties of undefined (setting 'display')
at cookieMessage
someone can help me?

alexandermarcondesjunior
Автор

Bro can u remake video of grocery-list with localStorage, As I'm not able to do so. Please Please Please Please

AashutoshBansal
Автор

can someone pls paste the css file here

bilalbehar
Автор

Why why why, so sick of cookie notice, ready to give up on using the internet because of it, yet another example of lawyers ruining things

FourthWayRanch
welcome to shbcf.ru