Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Nov 2011
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question questions and answers html

    Hey i need to create a html document that contains a short quiz where there are 5 questions with 5 blank textfields for the answers and also the ability to check if the answers are correct or not. im new to this stuff as iv just started doing it as one of the modules of my college course and could do with something to use as an example. any help would be greatly appreciated!

  • #2
    Supreme Master coder! Old Pedant's Avatar
    Join Date
    Feb 2009
    Posts
    25,189
    Thanks
    75
    Thanked 4,341 Times in 4,307 Posts
    You can't do this with HTML alone.

    You need to use either server-side coding (e.g., PHP/ASP/JSP) if you want a *real* quiz or JavaScript coding if you don't care that the user can see the answers by simply doing a VIEW-->>SOURCE on your page.

    If this is for a very first course in school, then you probably are being asked to use JavaScript.

    Determine which approach you are going to use then post in the appropriate forum.

    But also read rule 1.5 here: http://www.codingforums.com/rules.htm
    An optimist sees the glass as half full.
    A pessimist sees the glass as half empty.
    A realist drinks it no matter how much there is.


  •  

    Tags for this Thread

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •