+ 1
Js: how to see if the webpage isn't at the top
well, i wanna make a "scroll to the top" button that appears at the bottom right of the page when the page isn't at the top.... and likely can you tell me how to see if a specific section, let's say div#about 's Y pos of 0, reaches the top of the screen
3 Réponses
0
https://code.sololearn.com/W8o3IijOKFac/?ref=app
https://code.sololearn.com/Ws1HO2U0A227/?ref=app