?
Solved

How to make this voting system

Posted on 2013-06-15
4
Medium Priority
?
194 Views
Last Modified: 2013-06-18
Hi!

I am making a vote system, and need some help.

I want 5 buttons, that change color when user select that button.

When user select a button, the value of that button must be stored in a variabel

How can i make this, like the picture show in HTML5
(nice effects is olso nice)
vote.png
0
Comment
Question by:team2005
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 6

Expert Comment

by:limweizhong
ID: 39250122
What do you know about HTML? You can make this using a table, a CSS style "float:left;", or absolute positioning. Using JavaScript, you then put an EventListener on the elements which will update the value based on which element you clicked.
0
 
LVL 53

Expert Comment

by:COBOLdinosaur
ID: 39250158
Without a link to a page or at least the code you are already using, this is just going to go in circles with guesses and conflicting advice. If you don't have anything done yet, I would suggest to do a google search and find some code that is close to what you want and then if you need help adapting it, we are here.

Cd&
0
 
LVL 15

Accepted Solution

by:
Jagadishwor Dulal earned 2000 total points
ID: 39251138
0
 
LVL 2

Author Closing Comment

by:team2005
ID: 39255979
thanks
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When it comes to write a Context Sensitive Help (an online help that is obtained from a specific point in state of software to provide help with that state) ,  first we need to make the file that contains all topics, which are given exclusive IDs. …
Find out what you should include to make the best professional email signature for your organization.
In this tutorial viewers will learn how to code links for mobile sites that, once clicked, send a call or text to a specified number. For a telephone link (once clicked, calls a number), begin with a normal "<a href=" link tag. For the href, specify…
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

650 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question