@media(max-width: 500px) is an example of what?
Media Queries
All array items must be separated by a...
comma
How are methods different from functions?
methods are just functions associated with objects
Used to store information more later use
Variables
True or false: CSS specificity is based on which element is further down in the file
true
How does one access the index of an array?
bracket notation
How does one access elements inside of an object?
dot notation
What is the difference between let and const?
const variables cannot be changed
Name 3 units of measurement in CSS
px, rem, em, %, etc.
Name 3 array methods
.map, .pop, .push, etc.
Objects are comprised of __, __ pairs
Key, value
name 3 primitive data types in JS
number,string,boolean, etc.
Name the 4 types of layouts in CSS
Fluid, Adaptive, Responsive, Fixed
True or False: .unshift removes an item from the front of an array
False, unshift adds an item to the front
What is the purpose of the 'this' keyword?
When called inside of an object it is referring to that very object. this can be used to access other keys in the same object, and is especially useful in methods:
How would you perform functions based on certain criteria in JS?
If statements
What is the difference between em and rem?
While em is relative to the font-size of its direct or nearest parent, rem is only relative to the html (root) font-size.
what does it mean for an array to be 'heterogeneous'?
You can store any kind of data in the array. var arr = [2, "Hello", 123.5, true, person];
What syntax could you use to loop through an object?
for..in loops
True or false: Almost everything in JS is a function
False, object