Simple exercises with quiestions and answer to test your web programming knowledge.
You can choose consecutive or random quizzes, optional with countdown timer.

Choose the Category


Welcome to Trivia Game

- Choose the set of questions from the "Trivia Category".
- Click the Start button to start the quizzes.
-The Reset button resets the Trivia.

  • Level 1 - Easy - It is displayed a list of answers to each quiz. Click the correct answer.
  • Level 2 - Difficult - You write the answer into a text field, then click on Send button. The last letter from the possible answers is deleted.
  • Consecutive - The quiestions start from the quiz with index number added into a text field, and are added in their order till the last quiz.
  • Random - The quizzes are choosed randomly, till the last quiz, without repeat.
- Countdown Timer - If that button is checked, you have 15 seconds to answer till the correct answer is added automatically.
Trivia Category


From to

Quizzes: 0 of

0 - Correct
0 - Incorrect

Daily Test with Code Example

Which tag is used to add lists into <ul> and <ol> elements?
<dt> <dd> <li>
Which value of the "display" property creates a block box for the content and ads a bullet marker?
block list-item inline-block
.some_class {
  display: list-item;
Which instruction converts a JavaScript object into a JSON string.
JSON.parse() JSON.stringify eval()
var obj = {
 "courses": ["php", "javascript", "ajax"]
var jsonstr = JSON.stringify(obj);
alert(jsonstr);    // {"courses":["php","javascript","ajax"]}
Indicate the PHP class used to work with HTML and XML content in PHP.
stdClass PDO DOMDocument
$strhtml = '<body><div id="dv1"></div></body>';
$dochtml = new DOMDocument();
$elm = $dochtml->getElementById("dv1");
echo $elm->nodeValue;    //
Web Programming Tests

Last accessed pages

  1. SHA512 Encrypt hash in JavaScript (11696)
  2. Register and show online users and visitors (26721)
  3. Read Excel file data in PHP - PhpExcelReader (63730)
  4. PHP getElementById and getElementsByTagName (23110)
  5. Recursive function to create Multi-Level Menu in PHP (7580)

Popular pages this month

  1. Contact page - CoursesWeb (1997)
  2. Tabs effect with CSS (1984)
  3. Insert, Select and Update NULL value in MySQL (1078)
  4. Read Excel file data in PHP - PhpExcelReader (856)
  5. PHP getElementById and getElementsByTagName (532)