Responsive Design
Arrays
Objects
Javascript Fundamentals
100

@media(max-width: 500px) is an example of what?

Media Queries

100

All array items must be separated by a...

comma 

100

How are methods different from functions?

methods are just functions associated with objects

100

Used to store information more later use

Variables

200

True or false: CSS specificity is based on which element is further down in the file

true

200

How does one access the index of an array?

bracket notation

200

How does one access elements inside of an object?

dot notation 

200

What is the difference between let and const?

const variables cannot be changed

300

Name 3 units of measurement in CSS

px, rem, em, %, etc.

300

Name 3 array methods

.map, .pop, .push, etc.

300

Objects are comprised of __, __ pairs

Key, value

300

name 3 primitive data types in JS

number,string,boolean, etc.

400

Name the 4 types of layouts in CSS

Fluid, Adaptive, Responsive, Fixed

400

True or False: .unshift removes an item from the front of an array

False, unshift adds an item to the front

400

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:

400

How would you perform functions based on certain criteria in JS?

If statements

500

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.

500

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];

500

What syntax could you use to loop through an object?

for..in loops

500

True or false: Almost everything in JS is a function

False, object