Mise en page avec Flexbox et Grid Flashcards

1
Q

What are the HTML5 container elements used in structure divisions?

A

<header>, <footer>, <nav>, <main>

## Footnote

These elements help in organizing the structure of a webpage.
</main></nav></footer></header>

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

What is the main property for Flexbox?

A

display: flex

This property enables the flex container for flexible layout.

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

What property controls the orientation of Flexbox elements?

A

flex-direction

This can set the direction as column, row, etc.

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

Which properties are used for aligning elements in Flexbox?

A

justify-content, align-items

These properties manage the alignment along the main and cross axes.

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

What does the flex-wrap property do?

A

Contrôle de l’enroulement des éléments

It determines whether the flex items should wrap onto multiple lines.

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

What is the main property for Grid layout?

A

display: grid

This property creates a grid container for layout.

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

What does the gap property define in a Grid layout?

A

Espacement entre les lignes/colonnes

It specifies the space between grid items.

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

What is the purpose of grid-template-areas in Grid?

A

Organisation des éléments

This property allows for a visual representation of the layout.

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

What properties define the dimensions of rows and columns in Grid?

A

grid-template-rows, grid-template-columns

These properties specify the size of each row and column in the grid.

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

How are the starting and ending points defined in a Grid layout?

A

grid-column-start, grid-row-start

These properties indicate where a grid item should begin in the grid.

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