From bc06e793cd83a74ce8e5410a8d85762381e4a085 Mon Sep 17 00:00:00 2001 From: Squirrel-314 Date: Wed, 13 Jan 2021 19:16:17 -0500 Subject: [PATCH] Completed Scroll Button! --- main.js | 4 +++- styles.css | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/main.js b/main.js index ed13a62..5b14a9d 100644 --- a/main.js +++ b/main.js @@ -1 +1,3 @@ -document.getElementById( 'bottom' ).scrollIntoView(); +function part2() { + document.getElementById("vegetable-dash").scrollIntoView(); +} diff --git a/styles.css b/styles.css index 16c85a0..31e5594 100644 --- a/styles.css +++ b/styles.css @@ -10,7 +10,7 @@ Main html, body { margin: 0; padding: 0; - overlanding: hidden; + overflow: hidden; } ::-webkit-scrollbar {