Created
February 14, 2016 19:39
-
-
Save mattjared/42d783b976f2ab6cde75 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<!--Scripts given to you with exercises and stuff. | |
// Write this in...--> | |
<script type="text/javascript"> | |
function pageScroll() { | |
function runner() {window.scrollBy(0, 10000)}; | |
window.setTimeout(runner, 2) | |
} | |
</script> | |
</head> | |
<body onLoad="pageScroll()"> | |
<!--Koans and stuff below here. Don't go any further than here.--> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Series of tweets here explaining what's going on here. Even though the page gives the option to hide passing tests on the next refresh that selection is unchecked.
Referencing a quick fix to get to the bottom of the page when doing JavaScript Koans exercises.