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

Daily Test with Code Example

HTML
CSS
JavaScript
PHP-MySQL
Click on the tag that creates an ordered list
<ul> <tr> <ol>
<ol>
  <li>List-1</li>
  <li>List-2</li>
</ol>
Which selector represents the ID of an element in CSS
.name #name name
#id {
  color: #0110fb;
}
What statement creates an object in JavaScript?
{} [] new Date()
var obj = {"site": "CoursesWeb.net", "pr": 5};
alert(obj.site);
Indicate the instruction used to evaluate if a condiition is True or False
else if() switch()
$var = 8;
if($var == 8) echo $var;
JavaScript Code Snippets

Last accessed pages

  1. JavaScript strip_tags and stripslashes (4570)
  2. PHP getElementById and getElementsByTagName (37042)
  3. Check and Validate input field when loses focus, with PHP via Ajax (5056)
  4. CSS Course - Free lessons (11151)
  5. jQuery Ajax - load() method (9932)

Popular pages this month

  1. Making DIV Contents Scroll Horizontally, with multiple Div`s inside (38)
  2. Contact page - CoursesWeb (37)
  3. Tabs effect with CSS (37)
  4. Courses Web: PHP-MySQL JavaScript Node.js Ajax HTML CSS (16)
  5. Insert, Select and Update NULL value in MySQL (13)