Skip to content

Instantly share code, notes, and snippets.

@mattjared
Created February 14, 2016 19:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save mattjared/42d783b976f2ab6cde75 to your computer and use it in GitHub Desktop.
Save mattjared/42d783b976f2ab6cde75 to your computer and use it in GitHub Desktop.
<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>
@mattjared
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment