Daily Test with Code Example

HTML
CSS
JavaScript
PHP-MySQL
Which tag is a block element?
<div> <img> <span>
<div>Web Programming and Development</div>
Which CSS code displays the text underlined?
font-style: italic; text-decoration: underline; font-weight: 500;
h2 {
  text-decoration: underline;
}
Click on the JavaScript function that can access other function after a specified time.
insertBefore() setTimeout() querySelector()
function someFunction() { alert("CoursesWeb.net"); }
setTimeout("someFunction()", 2000);
Click on the instruction that returns the number of items of a multidimensional array in PHP.
count($array) count($array, 1) strlen()
$food = array("fruits" => array("banana", "apple"), "veggie" => array("collard", "pea"));
$nr_food = count($food, 1);
echo $nr_food;       // 6

Last accessed pages

  1. Butterfly Kyodai (6944)
  2. Bubbles3 (9313)
  3. Backgammon (1386)
  4. Strategy Games (3322)
  5. Svetlograd Zuma (2408)

Top accessed pages

  1. Courses Web: PHP-MySQL JavaScript Ajax HTML CSS Flash-AS3 (47881)
  2. Read Excel file data in PHP - PhpExcelReader (35997)
  3. PHP-MySQL free course, online tutorials PHP MySQL code (35609)
  4. Get Attribute (ID, Class, Name, Title, Src) with jQuery (32107)
  5. PHP PDO - exec (INSERT, UPDATE, DELETE) MySQL (29381)