CS401A's Midterms: Fundaments of Web Prog. Module 04 Flashcards

For midterm and final exams.

1
Q

is a modern solution for creating flexible layout that work correctly on different screen sizes as it organizes content into two (2) dimensions:

A

CSS Grid, or Grid,
rows and columns.

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

CSS Grid Layout (Casabona, 2021)

specifies the main content in the HTML document,

A

The main tag

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

CSS Grid Layout (Casabona, 2021)

and it can enclose several sections/articles but should not contain any repeated content across the document.

A

The main tag

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

CSS Grid Layout (Casabona, 2021)

can be used to space the row and columns using

A

The gap property
row-gap and column gap properties.

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

CSS Grid Layout (Casabona, 2021)

specifies independent and self-content and encloses various elements such as

A

< article> tag
header and paragraphs

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

CSS Grid Layout (Casabona, 2021)

specifies some content beside the content it is placed in and is usually presenced as

A

< aside> tag
sidebars.

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

CSS Grid Layout (Casabona, 2021)

is the exact area of ther screen that is rendering the website.

In mobile devices, is is the full screen of a device, while it is the width and height of a browser window.

A

Viewport

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

CSS Grid Layout (Casabona, 2021)

should be included in all HTML webpages and always go inside the < head> element.

A

This < meta> viewport element

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

CSS Grid Layout (Casabona, 2021)

It gives the browser instructions on controlling the page’s dimension and scaling.

A

< meta> viewport element

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

CSS Grid Layout (Casabona, 2021)

sets the page width to follow the screen width depending on the devices,

A

The width=device-width

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

CSS Grid Layout (Casabona, 2021)

sets the initial zoom level when the webpage is loaded by the browser.

A

while initial-scale=1.0

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

are not just sets of properties and values but containers for other rulesets implemented based on the

A

Media Queries
media query results.

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

MEDIA QUERY (Casabona, 2021)

is declared inside a link tag, while it is declared using

Note that this affects the grid layout.

A

the media attribute
@media in CSS.

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

MEDIA QUERY (Casabona, 2021)

Other logic which is used if both conditions are true

A

includes only

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

MEDIA QUERY (Casabona, 2021)

which is used to revert the media query that will return false if the output is true.

A

and not

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

MEDIA QUERY (Casabona, 2021)

is when the layout changes to adjust to the viewport.

A

Breakpoint

17
Q

MEDIA QUERY (Casabona, 2021)

It is set using min-width, which makes the layouts more usable and does not break when viewed on any device.

A

Breakpoint

18
Q

MEDIA QUERY (Casabona, 2021)

is a flexible one that can be viewed on small devices up to larger screens.

A

A responsive image

19
Q

MEDIA QUERY (Casabona, 2021)

are declared inside the < head> tags and below the < meta> tag.

A

The < style> tags

20
Q

MEDIA QUERY (Casabona, 2021)

has a video player that can be viewed on small screens up to larger screen devices.

A

A responsive video

21
Q

MEDIA QUERY (Casabona, 2021)

The syntax and placement are the same as those used to make responsive images.

A

A responsive video