Domain modeling is the process of creating a conceptual model in code for a specific problem.
in this case we use Math.random() function
the methods can be added to a prototype instead of the object itself
There are several types of information that need to be displayed in a grid or table. For example: sports results, stock reports, train timetables. A table represents information in a grid format.
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.) Even if a cell has no content, you should still use a td or th element to representb the presence of an empty cell otherwise the table will not render correctly.
Sometimes you may need the entries in a table to stretch across more than one column. The colspan attribute can be used on a th or td element and indicates how many columns that cell should run across.
Colspan=”n of columns that u want it to strech in”
You may also need entries in a table to stretch down across more than one row. The rowspan attribute can be used on a th or td element to indicate how many rows a cell should span down the table.
Rowspan=”n of rows that u want it to strech in”
There are three elements that help distinguish between the main content of the table and the first and last rows