Election Map

javascript

I created this interactive election map for my Skillcrush JavaScript class class. The map itself is from map.js. The voting model mimics the Electoral College. The number of votes for each candidate is predefined, and my JavaScript code determines the winner. The winner of each state is revealed when you hover over it, shown in both the color of the state and the box with vote count at the bottom.

I made this project my own by making it an election for 2 of my favorite comedians, and adding a fun parallax effect to the photo.

Unplugged Music Website

Contact Me

Photo of Brianna Hayley