Javascript Course

The navigator obiect belongs to the "window" object.
- navigator contains information about the browser application.
This object has some properties and methods that can be used with syntax:

navigator.property_name
navigator.methodName()

Properties and Methods of navigator object


- Many of the navigator object methods have been deprecated in the newer JS version, or are not standard.
A method of the navigator object is:

Daily Test with Code Example

HTML
CSS
JavaScript
PHP-MySQL
Which tag is used in <table> to create table header cell?
<thead> <th> <td>
<table><tr>
  <th>Title 1</th>
  <th>Title 2</th>
</tr></table>
Which CSS property sets the distance between lines?
line-height word-spacing margin
.some_class {
  line-height: 150%;
}
Which function opens a new browser window.
alert() confirm() open()
document.getElementById("id_button").onclick = function(){
  window.open("http://coursesweb.net/");
}
Indicate the PHP function that returns an array with names of the files and folders inside a directory.
mkdir() scandir() readdir()
$ar_dir = scandir("dir_name");
var_export($ar_dir);
navigator object

Last accessed pages

  1. Zodiac Signs PHP code (4470)
  2. The Stage, Panels and Tools in Flash (7508)
  3. Execute JavaScript scripts loaded via AJAX (5275)
  4. PHP MySQL - WHERE and LIKE (23086)
  5. Register and show online users and visitors (34309)

Popular pages this month

  1. Courses Web: PHP-MySQL JavaScript Node.js Ajax HTML CSS (522)
  2. Register and show online users and visitors (363)
  3. PHP-MySQL free course, online tutorials PHP MySQL code (273)
  4. querySelector and querySelectorAll (267)
  5. JavaScript Course - Free lessons (265)