HTML & CSS

HTML

Chaprter 6: Tables

What’s a Table?

Basic Table Structure

The <table> element is used to create a table. The contents of the table are written out row by row.

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.

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.

-Some browsers automatically draw lines around the table and/or the individual cells.

Example:

HTML

Table Headings

HTML

Spanning Rows & Columns

Example:

HTML

Example:

HTML

Long Tables

<thead>

<tbody>

<tfoot>

Example:

HTML

HTML

JavaScript

HTML

Chapter 3: Functions, Methods, and Objects

Functions

Function

What is a function?

Declaring a function

Calling a Function

Calling a Function

Calling a Function

CREATING· OBJECTS USING LITERAL NOTATION

Calling a Function

ADDING AND REMOVING PROPERTIES

Calling a Function

OBJECTS

Objects

Objects

Objects

Objects

Article Summary: Domain Modeling

Whats is Domain modeling

  1. The new keyword instantiates (i.e. creates) an object.
  2. The constructor function initializes properties inside that object using the this variable.
  3. The object is stored in a variable for later use.

Domain modeling is the process of creating a conceptual model for a specific problem. And a domain model that’s articulated well can verify and validate your understanding of that problem.

  1. When modeling a single entity that’ll have many instances, build self-contained objects with the same attributes and behaviors.
  2. Model its attributes with a constructor function that defines and initializes properties.
  3. Model its behaviors with small methods that focus on doing one job well.
  4. Create instances using the new keyword followed by a call to a constructor function.
  5. Store the newly created object in a variable so you can access its properties and methods from outside.
  6. Use the this variable within methods so you can access the object’s properties and methods from inside.

References:

-Domain Modeling Read the full article here

Main page