Survey?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • spike29
    New Member
    • Nov 2006
    • 10

    Survey?

    Hello can any teach me how to make a survey like the one you see on ESPN. with color rows and and percentages on the side and the number of votes in XHTML :)
  • ronverdonk
    Recognized Expert Specialist
    • Jul 2006
    • 4259

    #2
    In order to help you, you should at least give us some idea what your data looks like in HTML or other format.

    Ronald :cool:

    Comment

    • spike29
      New Member
      • Nov 2006
      • 10

      #3
      Well its a question in a book am using.

      Q: write a XHTML document that shows the reasult of the color survey. The document should contain a form with radio buttons that allows users to vote for their favorite color. one of the colors should be selected as a default. Then document should also contain a table showing various colors and the corresponding percentages of votes for each color. (Eeach row should be displayed in the color to which it is referring. ) Use attributes to format width, border and cell spacing for the table

      Comment

      • ronverdonk
        Recognized Expert Specialist
        • Jul 2006
        • 4259

        #4
        This means that you must use, besides DHTML/XHTML, another scripting language such as JavaScript (cleint side) or PHP (server side) to store and/or process the results. Are you aware of that?

        Ronald :cool:

        Comment

        • spike29
          New Member
          • Nov 2006
          • 10

          #5
          Yes, but couldn't I use CSS.

          Comment

          • ronverdonk
            Recognized Expert Specialist
            • Jul 2006
            • 4259

            #6
            CSS is just a make up 'tool' that you can use with html to display things the way you would like.
            But to process voting results, i.e. calculate values, you need arithmetic and for that you need a scripting language, like I showed you before.

            Ronald :cool:

            Comment

            Working...