Hello and welcome to our community! Is this your first visit?
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
    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. #2
    Supreme Master coder! Old Pedant's Avatar
    Join Date
    Feb 2009
    Thanked 4,947 Times in 4,908 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
    Be yourself. No one else is as qualified.


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