Handle the cases for negative and invalid combination of DOB
Fixes: #297
## Type of change
- [x] Bug fix (non-breaking change which fixes an issue)
- [x] New feature (non-breaking change which adds functionality)
- [x] This change requires a documentation update
# Checklist:
- [x] I have made this from my own
- [x] I have taken help from some online resourses
- [x] My code follows the style guidelines of this project
- [x] I have performed a self-review of my own code
- [x] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings
# ATTACH SCREEN-SHOTS / DEPLOYMENT LINK
![photo](https://github.com/MDeexith/Webeginner-projects/blob/main/Age%20Calculator/Screenshot%202022-08-28%20211519.png?raw=true)
![futureDOB2](https://user-images.githubusercontent.com/66233331/192097381-547f7809-a1f3-4113-a3b8-1497ad6f72cd.png)
![invalidDate1](https://user-images.githubusercontent.com/66233331/192097385-0265036a-148b-454e-b6b3-edc8c3051ccc.png)
![invalidDOB3](https://user-images.githubusercontent.com/66233331/192097386-b4370501-9a5d-435a-9e14-775fb48f0996.png)
Description
Fixes: #297
## Type of change - [x] Bug fix (non-breaking change which fixes an issue) - [x] New feature (non-breaking change which adds functionality) - [x] This change requires a documentation update # Checklist: - [x] I have made this from my own - [x] I have taken help from some online resourses - [x] My code follows the style guidelines of this project - [x] I have performed a self-review of my own code - [x] I have made corresponding changes to the documentation - [x] My changes generate no new warnings # ATTACH SCREEN-SHOTS / DEPLOYMENT LINK ![photo](https://github.com/MDeexith/Webeginner-projects/blob/main/Age%20Calculator/Screenshot%202022-08-28%20211519.png?raw=true) ![futureDOB2](https://user-images.githubusercontent.com/66233331/192097381-547f7809-a1f3-4113-a3b8-1497ad6f72cd.png) ![invalidDate1](https://user-images.githubusercontent.com/66233331/192097385-0265036a-148b-454e-b6b3-edc8c3051ccc.png) ![invalidDOB3](https://user-images.githubusercontent.com/66233331/192097386-b4370501-9a5d-435a-9e14-775fb48f0996.png)