Skip to content

Add BackToTopButton component, Issue #106#117

Closed
PRANIT0605 wants to merge 1 commit into
SrigadaAkshayKumar:mainfrom
PRANIT0605:main
Closed

Add BackToTopButton component, Issue #106#117
PRANIT0605 wants to merge 1 commit into
SrigadaAkshayKumar:mainfrom
PRANIT0605:main

Conversation

@PRANIT0605

@PRANIT0605 PRANIT0605 commented Aug 16, 2025

Copy link
Copy Markdown

Pull Request for Stock Analyzer

Thank you for contributing to the Stock Analyzer open-source project!

Issue Title

**Added the BackToTopButton, Issue #106 **
Issue #106 has been resolved.

Contributor Details

Closes

Mention the issue number that your PR fixes.
Closes #106

Describe Your Changes

What have you added or modified in this pull request?
-Implemented a Back to Top button on the page.
-The button appears when the user scrolls down.
-Smoothly scrolls the page back to the top when clicked.
-Added styles for proper positioning and visibility.

Screenshots

code

what are the files you have changed

changed app.js
added BackToTopButton.jsx , BackToTopButton.css in src\components

How Has This Been Tested?

Describe your testing process.

-Verified locally that the button works as expected using npm.start .
-No breaking changes introduced.

Type of Change

Select all that apply:

  • Bug fix (fixes an existing issue)
  • New feature (adds new functionality)
  • Code style update (formatting, refactoring)
  • Breaking change (may affect existing features)
  • Documentation update

Checklist

  • My code follows the project’s guidelines and best practices.
  • I have performed a self-review of my code.
  • I have added meaningful comments where necessary.
  • I have updated documentation wherever applicable.
  • My changes do not generate any new warnings or errors.
  • I have included screenshots, graphs, or test logs (if applicable).
  • Any dependent changes have been merged and documented.

Thank you for helping improve Stock Analyzer!

@github-actions

Copy link
Copy Markdown

Thanks for opening this Pull Request! A maintainer will review it shortly. Please make sure you've followed all contribution guidelines.

Join our Discord Community for discussions, questions, and real-time collaboration!

@PRANIT0605

Copy link
Copy Markdown
Author

Implemented BackToTop button with styling such that the button dynamically changes based on factors like page size and scroll speed.

@SrigadaAkshayKumar SrigadaAkshayKumar added the duplicate This issue or pull request already exists label Aug 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

duplicate This issue or pull request already exists

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEATURE] Add a Back to Top Button

2 participants