From f44bbe0644bb058d33b4f90617ac253164c5ca37 Mon Sep 17 00:00:00 2001 From: 80001 <57833120+80001@users.noreply.github.com> Date: Fri, 21 Oct 2022 18:48:12 +0300 Subject: [PATCH] Update task.md --- .../09-size-and-scroll/1-get-scroll-height-bottom/task.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/2-ui/1-document/09-size-and-scroll/1-get-scroll-height-bottom/task.md b/2-ui/1-document/09-size-and-scroll/1-get-scroll-height-bottom/task.md index 796039c2a..b7c7b1fe8 100644 --- a/2-ui/1-document/09-size-and-scroll/1-get-scroll-height-bottom/task.md +++ b/2-ui/1-document/09-size-and-scroll/1-get-scroll-height-bottom/task.md @@ -2,10 +2,10 @@ 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 of the bottom scroll (let's call it `scrollBottom`)? +Властивість `elem.scrollTop` -- це розмір прокрученої частини зверху. Як отримати розмір прокрутки знизу (назвемо його `scrollBottom`)? -Write the code that works for an arbitrary `elem`. +Напишіть код, який працює для довільного `elem`. -P.S. Please check your code: if there's no scroll or the element is fully scrolled down, then it should return `0`. +P.S. Будь ласка, перевірте свій код: якщо прокручування немає або елемент повністю прокручено вниз, він має повернути `0`.