Hey guys, I need help with this simple thing, I am new to js but not entirely to web design.
I have task to make two values like this
And now html thing, two buttons or drop down menu with this two values, partizan and zvezda
After person click on partizan for example cookie should be stored with value pogodak and next time person come to page, it will get message pogodak and redirect to some other page, not important atm, and cookies should expire on first Saturday.
I know is not big deal, but I find lots of code with not needed code for me, and when I delete those that is not of use to me, whole script is broken, so I need to make it simple like this. Thanks in advance.