Skip to content

Conversation

Mishu03
Copy link

@Mishu03 Mishu03 commented Oct 18, 2025

πŸŽƒ Hacktoberfest Contribution β€” Add Confetti Celebration

✨ Summary

This PR adds a fun and engaging confetti animation that appears when a user successfully completes a tutorial. It enhances the user experience by adding a celebratory visual cue, making learning on the platform more interactive and rewarding.

🧩 Implementation Details

  • Integrated canvas-confetti (already listed as a dependency).

  • Added a triggerConfetti() function to fire a short confetti burst.

  • Hooked it into the tutorial completion event (e.g., when the β€œMark as Complete” button is clicked).

  • Ensured performance and accessibility:

  • Lightweight effect, tested on both desktop and mobile.

  • Added polite ARIA message for screen readers.

  • Added basic error handling (fallback if confetti fails).

πŸ§ͺ Testing Done

  • Verified locally with npm start.
  • Successfully built and served with npm run build β†’ npm run serve.
  • Passed formatting and lint checks (npm run lint:fix, npm run format).

πŸ’‘ Why This Change?

  • Adds a positive reinforcement moment for learners.
  • Creates a more joyful and memorable tutorial experience.
  • Small, safe enhancement aligned with Hacktoberfest’s spirit of improving UX with simple, meaningful contributions.

πŸš€ Future Ideas

  • Add an option to toggle celebrations in user settings.
  • Customize colors or confetti patterns per tutorial theme.

βœ… Checklist

  • Feature works as expected
  • No console errors
  • Tested on multiple browsers
  • Follows repo’s contribution and formatting guidelines

Copy link

vercel bot commented Oct 18, 2025

@Mishu03 is attempting to deploy a commit to the recode Team on Vercel.

A member of the Team first needs to authorize it.

Copy link

Thank you for submitting your pull request! πŸ™Œ We'll review it as soon as possible. The estimated time for response is 5–8 hrs.

In the meantime, please provide all necessary screenshots and make sure you run - npm build run , command and provide a screenshot, a video recording, or an image of the update you made below, which helps speed up the review and assignment. If you have questions, reach out to LinkedIn. Your contributions are highly appreciated!😊

Note: I maintain the repo issue every day twice at 8:00 AM IST and 9:00 PM IST. If your PR goes stale for more than one day, you can tag and comment on this same issue by tagging @sanjay-kv.

We are here to help you on this journey of open source. Consistent 20 contributions are eligible for sponsorship πŸ’°

🎁 check our list of amazing people we sponsored so far: GitHub Sponsorship. ✨

πŸ“šYour perks for contribution to this community πŸ‘‡πŸ»

  1. Get free Consultation use code recode50 to get free: Mentorship for free.

  2. Get the Ebook for free use code recode at checkout: Data Science cheatsheet for Beginners.

  3. Check out this weekly Newsletter: Sanjay's Newsletter.

If there are any specific instructions or feedback regarding your PR, we'll provide them here. Thanks again for your contribution! 😊

@github-actions github-actions bot added hacktoberfest-accepted recode this is label for leaderboard labels Oct 18, 2025
@iitzIrFan iitzIrFan self-requested a review October 18, 2025 17:57
@iitzIrFan iitzIrFan added the under review Review under the maintainers or the admins label Oct 18, 2025
@iitzIrFan iitzIrFan moved this to In Progress in @recode-web Oct 18, 2025
Copy link
Member

@iitzIrFan iitzIrFan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please do mention the issue you have worked on ! @Mishu03

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

hacktoberfest-accepted recode this is label for leaderboard under review Review under the maintainers or the admins

Projects

Status: In Progress

Development

Successfully merging this pull request may close these issues.

2 participants