Skip to content
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

Fixed negative inputs in Antilog Calculator #912

Merged
merged 1 commit into from
May 27, 2024
Merged

Fixed negative inputs in Antilog Calculator #912

merged 1 commit into from
May 27, 2024

Conversation

Aarzookhunger
Copy link
Contributor

Fixes Issue🛠️

Closes #861

Description👨‍💻

The base input while calculating the Antilog should be positive and not 1. This issue has been fixed by inculcating the necessary changes in index.html file in the input tag and using validateBaseInput function.

Also the number whose Antilog is being calculated should be positive which has been fixed on the similar lines by making changes in the input tag.

For more detailed information, review the changes made section.

The UI has also been improved.!

Type of change📄

  • Bug fix (non-breaking change which fixes an issue)
  • The UI has been improved by adding gradients in background and shadow over hovering the Calculate button.

How this has been tested✅

I've checked the code by running it on my system. Screenshot for the same has been attached.

Checklist✅

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have added demonstration in the form of GIF/video file
  • I am an Open Source Contributor

Screenshots/GIF📷

image

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

Hey @Aarzookhunger, Welcome to the project CalcDiverse! 🎊
Thanks for your contribution! Your effort makes this project better. Keep it up! 🙌
Please wait for the PR to be reviewed. Happy Coding!! ✨

Copy link

netlify bot commented May 27, 2024

Deploy Preview for calcdiverse ready!

Name Link
🔨 Latest commit 991e846
🔍 Latest deploy log https://app.netlify.com/sites/calcdiverse/deploys/6654af108e684500076cf383
😎 Deploy Preview https://deploy-preview-912--calcdiverse.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 site configuration.

@Rakesh9100 Rakesh9100 changed the title Fixed negative inputs in Antilog Fixed negative inputs in Antilog Calculator May 27, 2024
@Rakesh9100 Rakesh9100 merged commit 5d043ac into Rakesh9100:main May 27, 2024
5 checks passed
@Rakesh9100
Copy link
Owner

Merged 🎉 @Aarzookhunger

@Rakesh9100 Rakesh9100 added Completed 🥳 PR successfully merged and issue resolved on completion gssoc GSSOC Open Source Program level2 Intermediate task labels May 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Completed 🥳 PR successfully merged and issue resolved on completion gssoc GSSOC Open Source Program level2 Intermediate task
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug] Fix negative inputs in Antilog Calculator
2 participants