Coding Intro Flashcards

1
Q

Separate CSS, JS, HTML. What golden rule?

A

Separation of concerns!

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Why separate your code (ex. JS, HTML…) what rule?

A

Best practice = separation of concerns = better organization

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What exception can you put CSS inline in HTML?

A

Making an email look really good

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Best resource for finding coding info

A

MDN

Mozilla developers network

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What does HTML stand for?

A

Hyper text markup language

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What does CSS stand for?

A

Cascading style sheets

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Fixed vs responsive website?

A

Fixed = won’t change to adapt to other screens and websites.

Responsive = looks good across all devices, screens and browsers.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What are media queries?

A

Let’s you create specific style rules for different screen types and sizes.

Good for responsiveness.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What are the 3 cornerstones of responsiveness? Describe each.

A

Fluidity = everything as a % (sizes w/ screen)
Elasticity = fonts & texts are responsive units (em)
Content decisions = what you want to show based on screen size.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

How do you make content decisions for different screen sizes?

A

Use CSS media queries.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

How do you decide what media queries to use for content decisions?

A

Develop for mobile screens first and expand with size.

Start from largest size screen, then decrease until it doesn’t look good anymore. add media query

How well did you know this?
1
Not at all
2
3
4
5
Perfectly