Update document, window

This commit is contained in:
Isabelle Viktoria Maciohsek
2020-10-20 11:46:23 +03:00
parent 5c344ae3e3
commit 52880f08ee
14 changed files with 16 additions and 16 deletions

View File

@ -7,7 +7,7 @@ Creates a counter with the specified range, step and duration for the specified
- Check if `step` has the proper sign and change it accordingly.
- Use `setInterval()` in combination with `Math.abs()` and `Math.floor()` to calculate the time between each new text draw.
- Use `document.querySelector().innerHTML` to update the value of the selected element.
- Use `Document.querySelector()`, `Element.innerHTML` to update the value of the selected element.
- Omit the fourth parameter, `step`, to use a default step of `1`.
- Omit the fifth parameter, `duration`, to use a default duration of `2000`ms.