HTML, CSS, CSS3, Bootstrap Flashcards

1
Q

What’s the purpose of CSS?

A

We want this to define visual stuff so that HTML is just defining markup.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
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
3
Q

What is a selector in CSS?

A

{Property: value; Property:value}

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

Where do we store CSS?

A

External style sheet, internal style sheet or inline styles

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

What is the CSS box model?

A

Box for each element that specifies spacing around element
(inner to outer) content to padding to border to margin (you know the pretty thing you find when you click inspect on chrome and go to other tabs to debug your fucked up code)

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

How can we group?

A

h1, h2, p { color: green;}

we’re basically grouping these guys so we can apply the same styles. might be useful. idk.

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

What’s CSS3?

A

Newer CSS2. It has rounded corners, gradients and cool shit like transitions or animations, or even flexible box or grid layouts.

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

What’s the deal with Bootstrap?

A

“It’s a CSS library, if you will, that we can use to make all of our webpages look exactly the same” - Mitchell, 2k16

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

What does Bootstrap actually do?

A

It gives you default layouts and fonts and colour schemes.

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

Why doesn’t Mitchell like Bootstrap?

A

Because we can do it ourselves

Also every site looks the same. As if we didn’t know.

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

What does HTML stand for?

A

HyperText Markup Language. Come on guys.

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

What is HTML?

A

Expresses content and visual formatting

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

What is a style sheet?

A

set of rules that tell the browser how to present a document

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

In CSS, what two parts is a rule made up of?

A

Selector: specifies HTML tag to which the style rule applies

Style declaration: expresses the style property to be attached to the HTML tag mentioned in the selector

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

How do we embed CSS within HTML?

A

tag

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

What does XML stand for?

A

eXtensible Markup Language (EML would make more sense)

17
Q

What advantages does XML have over HTML?

A

XML allows description of structure and meaning of document’s content
It express the page content, without interweaving content and presentation properties

18
Q

What is XML?

A

XML is essentially a meta language, not only a markup language. It enables definition of arbitrary sets of tags to describe document structure.

19
Q

What do we use XML documents for?

A

Describing and exchanging data mainly

20
Q

What is JSONP?

A

JSON with padding. Method commonly used to bypass the cross-domain policies in web browsers