Skip to content

Commit f44bbe0

Browse files
authored
Update task.md
1 parent c696bdd commit f44bbe0

File tree

1 file changed

+4
-4
lines changed
  • 2-ui/1-document/09-size-and-scroll/1-get-scroll-height-bottom

1 file changed

+4
-4
lines changed

2-ui/1-document/09-size-and-scroll/1-get-scroll-height-bottom/task.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ importance: 5
22

33
---
44

5-
# What's the scroll from the bottom?
5+
# Що прокрутиться від низу?
66

7-
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`)?
7+
Властивість `elem.scrollTop` -- це розмір прокрученої частини зверху. Як отримати розмір прокрутки знизу (назвемо його `scrollBottom`)?
88

9-
Write the code that works for an arbitrary `elem`.
9+
Напишіть код, який працює для довільного `elem`.
1010

11-
P.S. Please check your code: if there's no scroll or the element is fully scrolled down, then it should return `0`.
11+
P.S. Будь ласка, перевірте свій код: якщо прокручування немає або елемент повністю прокручено вниз, він має повернути `0`.

0 commit comments

Comments
 (0)