Skip to content

Add Scroll-to-Top Button on Blog Page#1021

Merged
Renu-code123 merged 3 commits intoRenu-code123:mainfrom
Eshajha19:blog-scroll
Mar 6, 2026
Merged

Add Scroll-to-Top Button on Blog Page#1021
Renu-code123 merged 3 commits intoRenu-code123:mainfrom
Eshajha19:blog-scroll

Conversation

@Eshajha19
Copy link
Contributor

✨ Add Scroll-to-Top Button on Blog Page

📌 Description

This PR introduces a Scroll-to-Top button on the Blog page to improve navigation and user experience. When users scroll down the page, a floating button appears that allows them to quickly return to the top with a smooth scrolling animation.

🚀 Features Added

  • Floating Scroll-to-Top button
  • Smooth scroll animation
  • Glowing hover effect
  • Responsive design for mobile and desktop
  • Dark / Light mode compatibility

🛠 Implementation

  • Added a floating button (scrollTopBtn) in blog.html
  • Implemented styling in blog.css
  • Added JavaScript logic to detect scroll position and enable smooth scrolling

📂 Files Modified

  • blog.html

🎯 Benefits

  • Improves navigation on long blog pages
  • Enhances overall UX
  • Provides modern UI interaction

🧪 How to Test

  1. Open the Blog page.
  2. Scroll down the page.
  3. A floating Scroll-to-Top button should appear.
  4. Click the button → the page smoothly scrolls to the top.

✅ Enhances usability and makes the Blog page easier to navigate.

This PR closes issue #1011

Screen.Recording.2026-03-06.150448.mp4

@vercel
Copy link

vercel bot commented Mar 6, 2026

@Eshajha19 is attempting to deploy a commit to the Renu's projects Team on Vercel.

A member of the Team first needs to authorize it.

@github-actions
Copy link

github-actions bot commented Mar 6, 2026

🎉 Thanks for the PR, @Eshajha19!

We really appreciate you taking the time to contribute to ExpenseFlow! 💙


⭐ Love this project?

Please give us a star! It helps the project grow and reach more developers! 🌟

🔗 https://github.com/Renu-code123/ExpenseFlow


✅ PR Checklist

Before we review, please ensure:

  • Your code follows the project's coding standards
  • All file changes are accurate and intentional
  • You've tested your changes locally
  • Any review comments have been addressed

🙌 Thank You for Contributing!

We truly appreciate your interest in contributing to this project.

  • Please make sure your code follows the project structure
  • Add clear commit messages and comments where necessary
  • Ensure your changes do not break existing functionality

We'll review your PR as soon as possible. Keep up the great work! ✨


@vercel
Copy link

vercel bot commented Mar 6, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
expenseflow Ready Ready Preview, Comment Mar 6, 2026 2:31pm

@Renu-code123 Renu-code123 merged commit 1fb2f98 into Renu-code123:main Mar 6, 2026
4 checks passed
@Eshajha19 Eshajha19 changed the title Blog scroll Add Scroll-to-Top Button on Blog Page Mar 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants