form validation is not working after adding JS
im using basic inbuilt html form validation to check for the form validity. After js code is added to get the values of these input fields to perform further operation, the validity of the form is not working.
here in codepen if you comment js code and click on Add in form the validations is working
https://codepen.io/avinash-tallapaneni/pen/MWPyvQe
here in codepen if you comment js code and click on Add in form the validations is working
https://codepen.io/avinash-tallapaneni/pen/MWPyvQe

