
Frontend Web Development Bootcamp - Build a Twitter Clone - Positions - Part 2
Interactive Video
•
Information Technology (IT), Architecture
•
University
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Read more
7 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What happens to an element when it is assigned 'position absolute' in CSS?
It remains in the normal flow of the page.
It is positioned relative to the viewport.
It jumps out of the normal flow and is positioned relative to its closest positioned ancestor.
It becomes invisible.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which property is used to control the stacking order of elements in CSS?
visibility
opacity
z-index
display
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
For the 'z-index' property to work, what must be true about the element's position?
It must be set to 'inherit'.
It must be set to 'fixed'.
It must be set to 'absolute' or 'relative'.
It must be set to 'static'.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How does an element with 'position fixed' behave when the page is scrolled?
It remains in the same position relative to the viewport.
It moves with the page.
It disappears.
It changes its position to 'absolute'.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a common use case for 'position fixed' in web design?
Creating a responsive layout.
Aligning text to the center.
Fixing navigation bars at the top of the page.
Creating a grid layout.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What additional property must be defined for 'position sticky' to function correctly?
margin
top
opacity
z-index
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How does 'position sticky' behave as the user scrolls?
It disappears when scrolled.
It changes to 'absolute' when scrolled.
It acts like 'relative' until a specified point, then becomes 'fixed'.
It remains fixed at the top of the page.
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?