ayush-that / FinVeda

A dynamic financial literacy app with Arthsathi AI chatbot, finance blogs, market trends, SIP calculator, and a quiz for effortless finance learning.
https://fin-veda.vercel.app/
Other
162 stars 413 forks source link

Improve `quiz.js` for Optimized Animation and Consistent Timing #2600

Open smog-root opened 1 hour ago

smog-root commented 1 hour ago

The current implementation of quiz.js provides smooth animated circles and a popup message on form submission. However, there are some areas for improvement to enhance performance, readability, and timing consistency. Suggested Improvements

I'm expecting gssoc-ext with level and hacktoberfest-accepted labels @Sampadatiwari @sampadatiwari30

1. Update Popup Message Duration Comment for Consistency:

2. Optimize Circle Animation Logic:

3. Add Event Listener Cleanup for Animation:

4. Improve Animation Reset Mechanism for Border Animation:

5. Delegate Event Listener for Expandability (Optional):

github-actions[bot] commented 1 hour ago

👋 Thanks for opening this issue! We appreciate your contribution. Please make sure you’ve provided all the necessary details and screenshots, and don't forget to follow our Guidelines and Code of Conduct. Happy coding! 🚀