0
Whats The Bug in This Code?
I set The Cookie And print the Cookie. https://code.sololearn.com/WgUM9383Sh8V/?ref=app
4 ответов
+ 2
I hate to be that guy but is nothing wrong with the code.
You used console.log so you got the cookies associated with the document printed at the bottom where errors normally are printed.
Try document.write() instead.
https://www.w3schools.com/js/js_cookies.asp
https://www.w3schools.com/jsref/tryit.asp?filename=tryjsref_doc_cookie
+ 1
https://www.youtube.com/watch?v=AwicscsvGLg
0
if I want to run the cookie on google chrome, what Should I do?
0
ok, I will use php Cookies Thanks❤