I saw this functionality, scroll to top on my html file and when I turned the html into php file (directory and code were the same) i noticed that this button disappeared on the php file without changing anything. I tried to fix it but I did not find where the problem was.
This is the code for the scroll to top button
I saw this functionality, scroll to top on my html file and when I turned the html into php file (directory and code were the same) i noticed that this button disappeared on the php file without changing anything. I tried to fix it but I did not find where the problem was. This is the code for the scroll to top button