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

HTML CSS JavaScript PHP

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.

Levels:
  • 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.
Mode
  • 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

Mode


From to

Quizzes: 0 of

0 - Correct
0 - Incorrect

Daily Test with Code Example

HTML
CSS
JavaScript
PHP-MySQL
Which tag renders as emphasized text, displaying the text oblique?
<strong> <pre> <em>
<p>Web development courses: <em>CoursesWeb.net</em></p>
Which CSS property defines the space between the element border and its content?
margin padding position
h3 {
  padding: 2px 0.2em;
}
Click on the method which returns the first element that matches a specified group of selectors.
getElementsByName() querySelector() querySelectorAll()
// gets first Div with class="cls", and shows its content
var elm = document.querySelector("div.cls");
alert(elm.innerHTML);
Indicate the PHP variable that contains data from a form sent with method="post".
$_SESSION $_GET $_POST
if(isset($_POST["field"])) {
  echo $_POST["field"];
}
Web Programming Tests

Last accessed pages

  1. Display data from PHP Array, or MySQL in HTML table (14385)
  2. Node.js Move and Copy file (5995)
  3. Node.js Working with Directories (870)
  4. Insert, Select and Update NULL value in MySQL (31477)
  5. Check and Validate input field when loses focus, with PHP via Ajax (4508)

Popular pages this month

  1. Insert, Select and Update NULL value in MySQL (665)
  2. Read Excel file data in PHP - PhpExcelReader (587)
  3. PhpSpreadsheet - Read, Write Excel and LibreOffice Calc files (383)
  4. Courses Web: PHP-MySQL JavaScript Node.js Ajax HTML CSS (337)
  5. PHP getElementById and getElementsByTagName (294)