let button = document.getElementById("button");. 2. button.addEventListener("click", function() {. 3. window.scrollTo({. 4. top: 0,. 5. behavior: "smooth".
確定! 回上一頁