Skip to content

[Feature] Add a "Back to Top" button for smooth bottom-to-top navigation #145

Description

@antara5603

Problem

The EduBridge website has a long scrollable layout — it includes a Hero section, Featured Courses section, and a Footer with About Us, Quick Links, and Follow Us columns. Currently there is no way for the user to quickly jump back to the top of the page without manually scrolling all the way up. This hurts the user experience, especially on mobile devices.

Expected Behavior

A "Back to Top" button should appear on the bottom-right corner of the screen when the user scrolls down past a certain point (e.g. 300px), and should:

->Be fixed/floating on the screen at all times once visible
->Smoothly scroll the page back to the top on click
->Hide itself when the user is already at the top
->Be visible on all pages (index.html, login.html, etc.)

Acceptance Criteria

#Button is hidden when user is at the top of the page
#Button appears after scrolling down 300px or more
#Clicking the button smoothly scrolls back to the top
#Button is fixed at bottom-right corner on all screen sizes
#Button is added across all pages of the project

Impact
Medium — Improves overall navigation experience, especially on content-heavy and mobile views.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions