- All these scripts are free, many of them have helpful explanations in their code, useful for those interested to learn JavaScript.

Daily Test with Code Example

Which HTML5 tag can be used to embed an external application (SWF, PDF) in web page?
<mark> <embed> <canvas>
<embed src="flash_game.swf" width="450" height="350" />
Which CSS pseudo-element adds a special style to the first line of a text?
:first-letter :before :first-line
#id:first-line {
  font-weight: bold;
  color: blue;
Click on the window object property which gets or sets the URL of current page.
window.location window.self window.status
var url = window.location;
Indicate the PHP function used to get the contents of a file or page and store it into a string.
fopen() file_put_contents() file_get_contents()
$homepage = file_get_contents("http://coursesweb.net/");
echo $homepage;
JavaScript Scripts

Last accessed pages

  1. Register and show online users and visitors (33155)
  2. The Power of Positive Thinking (185)
  3. PHP MySQL - WHERE and LIKE (22808)
  4. Disable button and Enable it after specified time (9291)
  5. JavaScript code and PHP (29088)

Popular pages this month

  1. Courses Web: PHP-MySQL JavaScript Node.js Ajax HTML CSS (306)
  2. Register and show online users and visitors (208)
  3. Read Excel file data in PHP - PhpExcelReader (176)
  4. PHP-MySQL free course, online tutorials PHP MySQL code (172)
  5. JavaScript Course - Free lessons (137)