ASSESSMENT SCRIPT DETAILED RESPONSES
COMPREHENSIVE REVIEW
◉ What happens when a value is not valid for a given property?
The declaration is deemed invalid and ignored by the CSS engine
The declaration is still applied by the CSS engine
The entire stylesheet is ignored by the CSS engine
The browser displays an error message.
Answer: The declaration is deemed invalid and ignored by the CSS
engine
◉ What is the default value for display for paragraphs in English?
display: block
display: inline
display: none
display: flex.
Answer: display: block
,◉ Is positioning a method for creating the main layouts of a page?
No, it's more about managing and fine-tuning the position of specific
items on a page
Yes, it's the primary method for creating the main layouts of a page
No, it's more about preventing the movement of specific items on a
page
Yes, it's the only method for creating the main layouts of a page.
Answer: No, it's more about managing and fine-tuning the position
of specific items on a page
◉ What is static positioning?
The default positioning that every element gets
A type of positioning that prevents an element from being moved
A type of positioning that moves an element relative to its position in
normal flow
A type of positioning that moves an element completely out of the
page's normal layout flow.
Answer: The default positioning that every element gets
◉ What is relative positioning?
,A type of positioning that allows you to modify an element's position
on the page, moving it relative to its position in normal flow
A type of positioning that prevents an element from being moved
relative to its position in normal flow
A type of positioning that moves an element completely out of the
page's normal layout flow relative to its position in normal flow
The default positioning that every element gets relative to its
position in normal flow.
Answer: A type of positioning that allows you to modify an element's
position on the page, moving it relative to its position in normal flow
◉ What happens when you set the position property of an element
to absolute?
The element is completely separated from the rest of the page layout
and sits over the top of it
The element remains in its default position in normal flow and sits
over the top of it
, The element is offset from its default position in normal flow and
sits over the top of it
The element is prevented from being separated from the rest of the
page layout and sits over the top of it.
Answer: The element is completely separated from the rest of the
page layout and sits over the top of it
◉ What happens when an item has position: sticky?
It'll scroll in normal flow until it hits offsets from the viewport that
have been defined, at which point it becomes "stuck" as if it had
position: fixed applied
It'll scroll in normal flow until it hits offsets from the viewport that
have been defined, at which point it becomes "unstuck" as if it had
position: fixed applied
It'll remain in its default position in normal flow until it hits offsets
from the viewport that have been defined, at which point it becomes
"stuck" as if it had position: fixed applied
It'll remain in its default position in normal flow until it hits offsets
from the viewport that have been defined, at which point it becomes
"unstuck" as if it had position: fixed applied.