For a bit of fun
This was a little project I did for a bit of my own fun.
In the run up to the Scottish Independence referendum a lot of people were on social media getting frustrated that only Scottish people could vote.
So I came up with the idea of “If I Had A Vote…”
I limited the voting by setting a cookie on the user’s computer so that they could only vote once. And displayed the results in a pie chart after the voted.
The site didn’t break any records, but it was a fun experience in testing cookie session saving and a dabble in a bit of politics as well!
Should Scotland be an independent country?
We received over 100 votes with 57% saying “No” to the referendum question.