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. Find the Day of the Week (159)
  2. Remove / Get duplicate array values - Reset array keys in PHP (3944)
  3. Bloons Tower Defense 4 (264)
  4. Countdown Timer until specified Date-Time (2428)
  5. Read Excel file data in PHP - PhpExcelReader (19790)

Top accessed pages

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