Javascript Course

Some JavaScript functions and code snippets useful for Programmers and JS scripts.

Daily Test with Code Example

HTML
CSS
JavaScript
PHP-MySQL
Which tag can be used to create input text field in web page?
<form> <input> <div>
<input type="text" name="a_name" value="val" />
Which CSS property displays the text in a small-caps font?
display font-variant font-style
h3 {
  font-variant: small-caps;
}
What instruction displays a notice box with a message inside it, in JavaScript?
for() Date() alert()
var msg = "Visit CoursesWeb.net";
alert(msg);
Indicate the PHP code used to get the users IP.
$_SERVER["HTTP_USER_AGENT"] $_SERVER["REMOTE_ADDR"] $_GET[]
$ip = $_SERVER["REMOTE_ADDR"];
echo $ip;
JavaScript Code Snippets

Last accessed pages

  1. SHA1 Encrypt data in JavaScript (31656)
  2. Selection Tools (7777)
  3. JavaScript trim, rtrim and ltrim (11955)
  4. JavaScript strip_tags and stripslashes (7688)
  5. Read Excel file data in PHP - PhpExcelReader (93685)

Popular pages this month

  1. PHP Unzipper - Extract Zip, Rar Archives (806)
  2. Courses Web: PHP-MySQL JavaScript Node.js Ajax HTML CSS (565)
  3. SHA1 Encrypt data in JavaScript (432)
  4. Create simple Website with PHP (397)
  5. Read Excel file data in PHP - PhpExcelReader (390)