CalcDiverse icon indicating copy to clipboard operation
CalcDiverse copied to clipboard

[Bug] Fix negative input in Logarithm Calculator

Open Aarzookhunger opened this issue 9 months ago • 5 comments

Description

In the logarithm calculator input section, the inputs are being taken through numeric sliders. Now since we know that logarithm of negative numbers can't be calculated nor the base could be negative or one so rather than generating alert after we press Calculate Log option, how about we restrict the sliders to go beyond. Also we can apply a simultaneous check which won't let us enter non-positive numbers through keyboard input as well. [https://calcdiverse.netlify.app/calculators/logarithm-calculator/]

Screenshots

No response

Checklist

  • [X] I have checked the existing issues.
  • [X] I follow Contributing Guidelines of this project.
  • [ ] I am a IWOC'24 contributor.
  • [ ] I am a JWOC'24 contributor.
  • [ ] I am a SWOC'24 contributor.

Code of Conduct

Aarzookhunger avatar May 09 '24 19:05 Aarzookhunger

Hey @Aarzookhunger, Welcome to the project CalcDiverse! 🎊 Thanks for opening an issue! 🙌 Please wait for the issue to be assigned. Happy Coding!! ✨

github-actions[bot] avatar May 09 '24 19:05 github-actions[bot]

👋 Hello! I'd be happy to help with this issue. Could you please assign it to me? Additionally, could you please label it for the appropriate level? Thank you! 🚀

IP80808080 avatar May 10 '24 15:05 IP80808080

@Rakesh9100 Kindlly label the issue under GSSoC and assign level to it. Also assign this issue to me for GSSoC'24 contribution. I'll be glad to resolve this issue and make my contribution to open-source community.

Thanks!

Aarzookhunger avatar May 11 '24 08:05 Aarzookhunger

Go ahead @Aarzookhunger

Rakesh9100 avatar May 19 '24 18:05 Rakesh9100

@Rakesh9100 Kindly add label regarding the level as well.

Thankyou!

Aarzookhunger avatar May 19 '24 20:05 Aarzookhunger