Update task.md

'from bottom scroll' -> 'to bottom scroll'
This commit is contained in:
Peter Roche 2019-11-08 16:52:14 -07:00 committed by GitHub
parent 53ae1bb015
commit aa97ba0e9b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,7 +4,7 @@ importance: 5
# What's the scroll from the bottom?
The `elem.scrollTop` property is the size of the scrolled out part from the top. How to get the size from the bottom scroll (let's call it `scrollBottom`)?
The `elem.scrollTop` property is the size of the scrolled out part from the top. How to get the size of the bottom scroll (let's call it `scrollBottom`)?
Write the code that works for an arbitrary `elem`.