Update article.md

"how to..." -> "how do we..."
This commit is contained in:
Peter Roche 2019-11-08 18:11:35 -07:00 committed by GitHub
parent aa97ba0e9b
commit 012e536a39
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,6 +1,6 @@
# Window sizes and scrolling
How to find out the width and height of the browser window? How to get the full width and height of the document, including the scrolled out part? How to scroll the page using JavaScript?
How do we find out the width and height of the browser window? How do we get the full width and height of the document, including the scrolled out part? How do we scroll the page using JavaScript?
For most such requests, we can use the root document element `document.documentElement`, that corresponds to `<html>` tag. But there are additional methods and peculiarities important enough to consider.