Web cover page open when button clicked

You could check the window Y positon, if its greater than 0, move the user back to the top of the page

window.onload = () => {
    setTimeout(() => {
        if (window.pageYOffset > 0) window.scrollTo(0, 0);
    }, 1);
};

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)