Describe the OG web model
Describe the modern web model
List technologies needed to create dynamic web pages
In JS, what does dynamic typing mean?
Type of a variable is assigned when the value is assigned
- type may also be changed if value is re-assigned
(but typing is strong)
In JS, what are the primitive types?
In JS, what are the trivial types?
- undefined
In JS, what are the composite types?
- arrays
In JS, what properties do functions have as types?
- there are multiple ways of defining functions
What is the difference between using == and === in JS?
== checks if two values are the same regardless of type (coercion to same type before comparison)
=== checks type as well as value - strict equality
(also used for strings)
What properties does the keyword “let” have in JS?
- smallest scope (block scope { } )
What properties does the keyword “var” have in JS?
- global/function scope
What properties does the keyword “const” have in JS?
How are variables declared if let, var and const are NOT used?
Variable will be globally scoped
List 4 objects that are accessible via the JS DOM API
Where in HTML should a script tag for JS be placed?
At the bottom of the page (just before