gray-mueller / gray-mueller/food-ordering-app-with-source-code

Entatega -Food- Delivery-website :Clicking on Privacy Policy or Terms and Conditions Links Doesn't Navigate to Top of Page

Open
#1,505 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Describe the bug
Upon clicking the 'Privacy Policy' or 'Terms and Conditions' links on the Enatega food delivery website, the page fails to scroll up to the top, as expected. I have resolved the issue where clicking Home in footer scrolls up the page and want to implement the same here

To Reproduce
Steps to reproduce the behavior:

Visit the Enatega food delivery website.
Scroll down to any section of the page.
Click on the 'Privacy Policy' or 'Terms and Conditions' links.
Expected behavior
After clicking on the 'Privacy Policy' or 'Terms and Conditions' links, the page should smoothly scroll up to the top, positioning users at the beginning of the respective documents.

Screenshots

Issue.in.Fotter-Food.Deliver.Website.-.Trim.mp4
Expected Behavior
https://github.com/ninjas-code-official/food-delivery-multivendor/assets/104057403/f1651a2b-71fd-4bef-9606-2eaf9d830ce4

Desktop (please complete the following information):

OS: [ Windows 11]
Browser: [e.g., Chrome]
Additional context
I have solved issue #212 and want to do the same with this issue

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.