Dynamic JS Documents Flashcards

1
Q

What is absolute positioning?

A

Element positioned at coordinates relative to the first parent element that is not static

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

What is relative positioning?

A

Element positioned at coordinates relative to its normal place (top, left)

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

What is fixed positioning?

A

Element positioned at coordinates relative to the browser window (top, left)

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

What is static positioning?

A

Default, positioned at its normal position

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

In which cases can elements be moved after display?

A

Absolute or relative

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

How to delay a function?

A

setTimeout(statement, milliseconds)

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

What is the difference between display and visibity?

What are the possibilities for visibility and for display?

A

display: none/block/inline
visibility: visible/hidden
While a hidden element still takes up space, the element set to display: none will not take up any space

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