Rakesh9100 / CalcDiverse

CalcDiverse is a customized collection of calculators for various aspects of mathematics. Individuals with basic web development knowledge can create distinctive calculators and submit pull requests.
https://calcdiverse.netlify.app
Apache License 2.0
150 stars 384 forks source link

Added a check for Realistic ages and height #1866

Open afreenpoly opened 2 months ago

afreenpoly commented 2 months ago

Fixes Issue🛠️

Closes #1368

Description👨‍💻

-Introduced a new function isValidCombination to validate the combination of age and height inputs. The function ensures that:

  1. For children (age 0-5), height is between 60 cm and 120 cm.
  2. For children (age 6-10), height is between 100 cm and 150 cm. 3.For adults,No restriction

Type of Change📄

Checklist✅

Screenshots/GIF📷

Before

image

After

image

netlify[bot] commented 2 months ago

Deploy Preview for calcdiverse ready!

Name Link
Latest commit 900fbe89d231febf80a75a268aa0e1a4f1a924d0
Latest deploy log https://app.netlify.com/sites/calcdiverse/deploys/66d1848daf3c750008963d1e
Deploy Preview https://deploy-preview-1866--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.