Javascript Course


The Global object has properties and methods at the highest level, without a parent object. This means the global properties and functions can be used with all the built-in JavaScript objects.


Properties of the Global object


Methods of the Global object

Daily Test with Code Example

HTML
CSS
JavaScript
PHP-MySQL
Which attribute can be used to add CSS styles directly in the HTML tag?
type style class
<div style="width: 80%; border: 3px solid #888888;">Content</div>
Which CSS transform method distorts the HTML element in a given angle (including its content)?
translate() scale() skew()
#some_id {
  transform: skew(20deg, 25deg);
  -ms-transform: skew(20deg, 25deg);   /* IE 9 */
  -webkit-transform: skew(20deg, 25deg);   /* Safari and Chrome */
}
Click on the function which converts a Date object to a string.
indexOf() toString() getDate()
var rightnow = new Date();
alert( rightnow.toString() );
Which function applies a callback function to the elements of the given array?
array_merge() array_search() array_map()
$arr = arra("abc", "<p>xyz</p>", "<em>PHP</em>");
// apply the strip_tags() function to delete HTML tags from each array item
$arr = array_map("strip_tags", $arr);
}
Global Object

Last accessed pages

  1. Get Mouse coordinates inside a Div or an Image (16263)
  2. Node.js Get Started (587)
  3. PuzzleImg - Script to Create Image Puzzle Game (9415)
  4. Laravel - Validation (811)
  5. Multiple Select Dropdown List with JavaScript (13476)

Popular pages this month

  1. Courses Web: PHP-MySQL JavaScript Node.js Ajax HTML CSS (122)
  2. Read Excel file data in PHP - PhpExcelReader (39)
  3. The Mastery of Love (36)
  4. PHP Unzipper - Extract Zip, Rar Archives (34)
  5. Working with MySQL Database (25)
Chat
Chat or leave a message for the other users
Full screenInchide