- Explain why we need domain modeling: Domain modeling is the process of creating a conceptual model in code for a specific problem. A domain model that's articulated well can verify and validate the understanding of a specific problem among various stakeholders. As a communication tool, it defines a vocabulary that can be used within and between both technical and business teams.
-
Why should tables not be used for page layouts? Layout tables reduce accessibility for visually impaired users. Tables produce tag soup. Tables are not automatically responsive.
-
List and describe 3 different semantic HTML elements used in an HTML
: - styling info for an entire column of data in one place.
-
What is a constructor and what are some advantages to using it? A special function that creates and initiializes an object instance of a class. The constructor gets called when an object is created using the new keyword. The constructor creates a new object and set values for any existing object properties.
-
How does the term differ when used in an object literal versus when used in a constructor? When you only have to create a single object literal, it's not very useful. But when creating more than one, enables you to use the same methond definition for every object you create.
- Explain prototypes and inheritance via an anlogy from your previous work experience. Every function in JavaScript has a prototype property that references an object. The most important difference between class- and prototype-based inheritance is that a class defines a type which can be instantiated at runtime, whereas a prototype is itself an object instance.
Object Prototypes Using a Constructor
HTML Table Advanced Features and Accessibility
| / |
| table headers
|
|---|