skip to Main Content

When I click on the left mouse button, the site takes me down, what could be the problem?

here is the link:
http://sakhalatin.pythonanywhere.com/

I tried everything I just started doing my website, I know that you will get shocked when you go to source HAAHHAHAHAHA

2

Answers


  1. I would guess the code at line 15 is the culprit:

    
          window.addEventListener("click", function() {
            window.scrollBy(0, 1000); // значение "50" можно изменить на нужное вам количество пикселей, на которое нужно прокрутить страницу
          });
    
    
    Login or Signup to reply.
  2. yes that does look like this is the problem

    window.addEventListener("click", function() {
            window.scrollBy(0, 1000); // значение "50" можно изменить на нужное вам количество пикселей, на которое нужно прокрутить страницу
          });
    
    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search