This is a project to improve my skills in basic concepts of Javascript, like arrays, objects, functions and DOM innerHTML property. This simulation of a elletronic ballot box has static data, that's why you can vote for few candidates. You can vote in white (just click the white button), in valid candidates (see the valid numbers clicking on the buttons City councilor and Mayor on top) and in null (type a invalid number).
This project is part of my personal portfolio, so I would appreciate if you provide me any feedback about the ideia, code, structure or anything you could report to make me a better developer.
Feel free to use the Electronic Ballot Box as you wish, either to study or make improvementes!
You can check out this project in action clicking here.
Before starting, you need to have installed in your machine the Git and a editor to work with the code (I use VSCode).
To clone this project via HTTPS, run the command:
https://github.com/gustavopolonio/electronic-ballot-box.git
SSH URLs provide access to a Git repository via SSH, a secure protocol. If you have a SSH key registered in your Github account, clone this project using the command:
git clone git@github.com:gustavopolonio/electronic-ballot-box.git
Open the cloned project in your editor and install a Live Server to launch a development local server with live reload feature. If you are using VSCode like me, I recommend to install the extension LiveServer. Then start the live server and open the browser in the port number provided:
http://localhost:<port_number>/
This project is under the MIT license. See the license for more informations.
Made with 💚 by Gustavo Polonio 🚀