-
Notifications
You must be signed in to change notification settings - Fork 406
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] Fix negative inputs in Logarithm Calculator #630
Comments
Hey @Aarzookhunger, Welcome to the project CalcDiverse! 🎊 |
👋 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! 🚀 |
@Rakesh9100 Thanks! |
Go ahead @Aarzookhunger |
@Rakesh9100 Thankyou! |
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
Code of Conduct
The text was updated successfully, but these errors were encountered: