🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Quiz: Flexbox and Grid: all 10 questions

Quiz: Flexbox and Grid · Question 4 of 10

Which position value keeps an element on screen while you scroll the whole page?

Which position value keeps an element on screen while you scroll the whole page?

  1. A.relative
  2. B.absolute
  3. C.fixed
  4. D.static
Answer & explanation

Correct answer: fixed

fixed elements are positioned relative to the viewport.

Can you get the rest right without peeking?

Take the timed Quiz: Flexbox and Grid quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →