Class 7
-
Domain modeling is the process of creating a conceptual model in code for a specific problem.
-
Object-oriented model. An entity that stores data in properties and encapsulates behaviors in methods
HTML Book
Chapter 6: “Tables” (pp.126-145)
-
A table represents information in a grid format. The table element is created using the
<table>
tag. Rows are defined using the<tr>
tag and elements inside the row using<td>
: <table>
<tr>
<td>
words</td>
</tr>
-
</table>
-
Headings within a table are generated with the
<th>
tag. - If you need a row to span multiple columns you can use the colspan attribute in the td tag.
<td colspan="2">
words </td>` - If you need a column to span multiple rows use rowspan in the td tag.
- Long tables will use
<thead>
<tbody>
and<tfoot>
tags.
JavaScript Book
Chapter 3: “Functions, Methods, and Objects” (pp.106-144)
- Object constructors can use a function as a template for creating objects.
- Use dot notation to access (and add) properties of objects.
this
is a keyword that is commonly used inside functions and objects.- Built in objects come with browsers and act like a toolkit for creating interactive web pages. The three groups of builts in objects are ‘browser object model’, ‘document object model’, and ‘global javascript objects’.
- The window object represents the current browser window or tab.
- The document object is the top most object in the DOM
- When you have a value that is a string you can use the string object on that value.
- The number object is used with values that return numbers.
- Math object for mathematical constants and functions.
- Date object allows you to specify dates and times.
201 Contents
Return HOME