Object-Oriented Programming, HTML Tables
Domain modeling
Domain Modeling
- Can be used to store info I think? This is very hard to read.
HTML Tables
HTML Table Basics
- Tables should not be used for layout ebcause it reduces accessibility, creates “tag soup” and are not responisve like the components thety replace are.
- semantic table elements
- Table headers: table headers describe the data that is going to be stored in the cells
- colspan/ rowspan: these allow your cells to expand in the direction you want.
- col/ colgroup: these elements allow styling columns to be much easier as opposed to styling every cell individually
JS Constructors and Object Prototypes
Introducing Constructors
Object Prototypes Using a Constructor
- A constructor is an object literal but instead of copy/pasting for every new item, it defines the layout for all objects
- In a constructor “this” binds to the new object
- Its asking me to explain prototypes and inheritance but I literally have no idea.