If I Had A Vote

    0
    61

    [vc_row section=”yes” sectionwidth=”centered” paddingtop=”60px” paddingbottom=”60px” backgroundrepeat=”repeat” backgroundposition=”left top” backgroundattachment=”scroll” backgroundsize=”auto” textcolor=”default” parallax=”no” parallax_speed=”1″][vc_column width=”1/2″][/vc_column][vc_column width=”1/2″]

    For a bit of fun

    [vc_column_text][/vc_column_text][vc_column_text css_animation=”left-to-right”]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![/vc_column_text][/vc_column][/vc_row][vc_row][vc_column width=”1/3″]

    Should Scotland be an independent country?
    [/vc_column][vc_column width=”1/3″]

    NO

    [vc_column_text]We received over 100 votes with 57% saying “No” to the referendum question.[/vc_column_text][/vc_column][vc_column width=”1/3″]
    %
    [/vc_column][/vc_row]