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
What attribute makes the input text box to not be modified by the user?
checked="checked" readonly="readonly" disabled="disabled"
<input type="text" value="fixed-value" readonly="readonly" name="a_name" />
What CSS property allows you to create rounded corners in your webpage design?
background-size border-size border-radius
.class {
  border:2px solid blue;
  border-radius:1.2em;
}
What instruction displays a confirmation dialog box to the viewer, who must then click OK or Cancel to proceed?
indexOf() confirm() prompt()
var ques = window.confirm("The result of 0+0 is 0?");
if (ques) alert("Corect");
else alert("Incorrect");
Indicate the PHP function that returns the lowest number of the parameter values.
floor() ceil() min()
$min_nr = min(12, 8, 25, 13);
echo $min_nr;        // 8
Global Object

Last accessed pages

  1. Understanding Events (162)
  2. The Essene Gospel of Peace (1762)
  3. Convert BBCode to HTML and HTML to BBCode with JavaScript (6056)
  4. Redirects (2107)
  5. Clear Canvas Context (5811)

Popular pages this month

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