Welcome to Read: 07
Read: 07 - “JS Object Literals; The DOM”
In this Read: 07, I will have those two topics:
- Tables.
- Functions, Methods, and Objects.
— Tables
WHAT IS A Table?
The table is as a container that group a set of data in organized way.
Basic Table Structure.
<table>The<table>element is used to create a table. The contents of the table are written out row by row.<tr>You indicate the start of each row using the opening<tr>tag. (The tr stands for table row.) It is followed by one or more<td>elements (one for each cell in that row). At the end of the row you use a closing</tr>tag.<td>Each cell of a table is represented using a<td>element. (The td stands for table data.) At the end of each cell you use a closing</td>tag.
Table heading.
<th>The<th>element is used just like the<td>element but its purpose is to represent the heading for either a column or a row. (The th stands for table heading.)
Functions, Methods, and Objects
Ther is two way to create an object.
-
Literal Notation
-
Constructor Notation
CREATING OBJECTS USING CONSTRUCTOR SYNTAX
CREATE & ACCESS OBJECTS CONSTRUCTOR NOTATION
ADDING AND REMOVING PROPERTIES
The Browser Object Model: The Window Object
The Document Object Model: The Document Object
Global Objects: String Object
Global Objects: Math Object
Global Objects: Date Object (and time)
| Number | References |
|---|---|
| [] | Duckett, J. (2014). JavaScript & JQuery: Interactive front-end web development. In JavaScript & JQuery: Interactive Front-End Web Development . John Wiley & Sons. |
| [] | Duckett, J. (2014). JavaScript & jQuery ; HTML & CSS. In JavaScript & jQuery ; HTML & CSS. Indianapolis, IN: John Wiley & Sons. |


