View on GitHub

201-reading-notes

this is where i keep my 201 notes

CLASS 07 READING NOTES

WHATS A TABLE ?

-A table represents information in a grid format. Examples of tables include financial reports, TV schedules, and sports results.

### table

Spanning Columns

Long Tables

There are three elements that help distinguish between the main content of the table and the first and last rows (which can contain different content). These elements help people who use screen readers and also allow you to style these sections in a different manner than the rest of the table (as you will see when you learn about CSS). thead The headings of the table should sit inside the thead> element. tbody> The body should sit inside the tbody> element. tfoot> The footer belongs inside the

tfoot> element.

THIS (IT IS A KEYWORD)

The keyword this is commonly used inside functions and objects. Where the function is declared alters what this means. It always refers to one object, usually the object in which the function operates.

RECAP: STORING DATA

In JavaScript, data is represented using name/value pairs. To organize your data, you can use an array or object to group a set of related values. In arrays and objects the name is also known as a key.