Are you ready?
1 questions to solve.
- This quiz goes to full-screen once you press the Start button, or any Next button after exiting the quiz window.
- At the end of the quiz, you are able to review all the questions that you answered wrong and see their explanations.
scrollXis older than the other?
pageXOffsetis an older property if we compare it to
pageXOffsetproperty is available on all element nodes. True or false?
pageXOffsetis only available on the
scrollTopproperty. However for the case of
window, this thing is done using
scroll()method is one of the ways to programatically change the vertical scroll offset of an element. This goes with choice C). The other ways are
scrollTo()methods do the same thing. True or false?
scrollTo()do exactly the same thing. It's just that
scroll()is a bit older compared to
window.scrollY = 10;