aniketsinha2002 / DataGeek

A static educational website related to Data Science built using HTML, CSS, JS, Bootstrap and Tailwind from scratch
https://aniketsinha2002.github.io/DataGeek/
88 stars 202 forks source link

Issue: Scroll Animation Offset Causes Inaccurate Jump #722

Closed tamannaaaaa closed 11 months ago

tamannaaaaa commented 11 months ago

Description

The current scroll animation in the provided code snippet has an offset of -140 pixels from the top of the target section. While the intention behind adding the offset might be to account for a fixed header, it introduces an issue where the scrolling behavior becomes inaccurate under certain circumstances.

Screenshots

No response

tamannaaaaa commented 11 months ago

Please assign this issue to me so I could fix it

tamannaaaaa commented 11 months ago

While pushing, it's showing that I don't have access to this file. The url returns error 403

aniketsinha2002 commented 11 months ago

@tamannaaaaa Hey Tamanna, error 403 suggests a permissions problem, but if others are pushing without problems, it could be related to your account settings or local configuration. You should once double-check your credentials, repository URL, and authentication method to ensure everything is set up correctly on your end.

tamannaaaaa commented 11 months ago

@aniketsinha2002 I have solved this issue and created a PR. Please check it out.