How can I make vote counter | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How can I make vote counter

Guys, How can I make vote counter I have a vote system and it have "Q: Question & two radio (Yes and no)" Now I want It to show the amount of the user click The Radio (Yes or no) Example : 🔘Yes - (1 vote) pls help me in html, css, php and JavaScript

20th Oct 2018, 7:38 PM
ŠHÀDØW KÏŁŁËR
ŠHÀDØW KÏŁŁËR - avatar
2 Answers
+ 1
id use a progress bar and when a answer is chosen and submit hit the variable to add 1 to the bar is added. this would be a basic thing the problem i see is saving the state of the vote progress and identifying an ip so people cant multi vote. these wpuld need form validation using saved information from a server
21st Oct 2018, 3:50 AM
Jason Kennedy
0
please Can you show a Small code for it, It will be helpful.. :)
21st Oct 2018, 10:31 AM
ŠHÀDØW KÏŁŁËR
ŠHÀDØW KÏŁŁËR - avatar