Log in

View Full Version : Javascript - online test creation



johndouglas
13 Oct 2007, 04:20 AM
hi guys

i'm hoping you can help me out with some design questions. I want to create a simple site to help people learn things. So, they see a question and then click a button to get the answer. Then click next to go to the next question. There's no need to grade answers or anything.

I've seen a site that does the same thing. How does it work? Where are the questions stored? Do I have to store the questions on a server? It'd be good if the questions were randomly picked.

http://www.subnettingquestions.com/default_uk.asp

Lots of questions! But even just a few hints that'd help me would be welcome.

Thanks

John

David Bowley
13 Oct 2007, 07:52 AM
The site you gave a link for does this really simply using JavaScript. The script really simply shows the hidden answer layer when you click "reveal", and also changes the "reveal" link to the next link.

The site does use ASP to call the next page up, but you could do that simply by using html.