Skip to content

Conversation

@Chirag1724
Copy link
Contributor

Description

  • Implemented a floating "Scroll to Top" button that appears after scrolling 300px.
  • Created programmatic button injection in main.js for global availability.
  • Added premium-themed CSS transitions and hover effects in styles.css.
  • Fixed a bug in index.html where raw JavaScript code was rendering below the footer.
  • Cleaned up duplicate comments and restored correct AOS initialization in index.html.

Related Issue

Closes #213

Screenshot

image

Verification

  • Verified button visibility on scroll.
  • Verified smooth scroll-to-top functionality.
  • Confirmed that stray code below the footer is removed.

@netlify
Copy link

netlify bot commented Jan 27, 2026

Deploy Preview for byamn-learning ready!

Name Link
🔨 Latest commit 2e85d07
🔍 Latest deploy log https://app.netlify.com/projects/byamn-learning/deploys/6978a5f9c8796d0008e13d3d
😎 Deploy Preview https://deploy-preview-220--byamn-learning.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@github-actions
Copy link

Thanks for creating a PR for your Issue! ☺️

We'll review it as soon as possible.
In the meantime, please double-check the file changes and ensure that all commits are accurate.

If there are any unresolved review comments, feel free to resolve them. 🙌🏼

@github-actions github-actions bot added the enhancement New feature or request label Jan 27, 2026
@DYHARDx DYHARDx added wocs level 2 5 Points labels Jan 28, 2026
@DYHARDx DYHARDx merged commit 791d545 into DYHARDx:main Jan 28, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request level 2 5 Points wocs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add “Scroll to Top” Button (Bottom-Right Corner)

2 participants