Skip to main content
Participant
November 6, 2020
Question

Quizzes

  • November 6, 2020
  • 3 replies
  • 453 views

I have a little knowledge of html,

What I would like to know is there a book that I can be direct to learn enought css or what language needed to make a quzz that grade itself and shows the correct answer.

 

 

Thank you

Rick

This topic has been closed for replies.

3 replies

Nancy OShea
Community Expert
Community Expert
November 6, 2020

A Google search for "online quiz scripts" should reveal plenty of solutions, both server-side and client-side.  This one is built with Bootstrap and JavaScript. Although it's not 100% secure, most people will not find answers in the source code because I minified and obfuscated the script that contains them.

https://alt-web.com/DEMOS/Quiz/

 

Nancy O'Shea— Product User & Community Expert
Legend
November 6, 2020

Way too easy to get at the correct answers. For anything serious you should never use Javascript for quizes. Use Javascript if its just a bit of fun.

 

key: ['2', '1', '2', '2', '2', '2', '1', '1', '2', '3']

Nancy OShea
Community Expert
Community Expert
November 6, 2020

"Way too easy..."

And you're not most people 🙂

 

 

Nancy O'Shea— Product User & Community Expert
hans-g.
Legend
November 6, 2020

Hi Rick,

 

if German language is not a problem for you (or by help of Google Translate), you could try this.

https://wiki.selfhtml.org/wiki/JavaScript/Tutorials/Spiele/Multiple-Choice-Quiz 

There are some examples and at the end you will find

Das fertige Quiz
Das fertige Multiple-Choice-Quiz ausprobieren
QuelltextVorschau
what means something like:
The finished quiz
Try out the completed multiple choice quiz
Source code preview

 

Hans-Günter

Legend
November 6, 2020

Your best option would be to search the internet or youtube for 'write a quiz with php'. There should be plenty of results.

 

Don't use javascript (unless you use node.js, which can be executed on the server-side). There are a lot of quiz solutions that use javascript, which is executed on the client side, which means the anwsers to the questions can be found in the code if you look at code view in a browser.