when you are fill the form (first name, last name and date of birth) , when you are click on the submit button , it will shows the popup in that popup, Hello Mr. XYZ you are 20 years old. how to get this output.
JavaScript is case sensitive getElementById is in camel-case ‘Was that you’ in camel case is ‘wasThatYou’ Join words, remove punctuations, keep the first letter uppercase of all words except the first letter Thank you very much
One of best channel because he provide free code for us
Juda ham foydali ekan Thank you for project
That's so helpful... Thank you so much❤
what is the purpose of month array? how its work? why we want this?
Much thanks for the help.
But why you did this " months[currentMonths - 2] "
Shouldn't it be " -1 " ?
Thanks again.
Its accessing the array months which starts from index 0, hence to accomodate that it is - 2 (since we added a +1 in the currentMonth variable)
God bless you. But could you possibly add in an option where it shows the hours and minutes?
It was very nice I like it. thanks
Helpful ❤️
Glad it was helpful!
Awesome
when you are fill the form (first name, last name and date of birth) , when you are click on the submit button , it will shows the popup in that popup, Hello Mr. XYZ you are 20 years old. how to get this output.
How to Add WordPress Website
hey please fixed this issue if you put date of birth 19 Aug 1995 the day result show nan
Works for the given date. Please check your code.
Please send link of age calculator source code link
Please use the search bar on the website to find the source code.
😍😍😍
What if current month is 1.
months[-1] is of no meaning lol.
You are calculating it wrong. It works perfectly fine for all dates
your code is not working for 12th month why
It works for the 12th month. You can download the source code from my website to verify.
apna code check kiya kro teacher ka code ghalat nhi hota agr hota ha tu copy q krty ho @@CodingArtist
For more release you disappeared !!!
main.html:49 Uncaught TypeError: document.getElementByID is not a function
at ageCalculate
at HTMLButtonElement.onclick
Whats the error
It should be document.getElementById(). Check the spelling.
JavaScript is case sensitive
getElementById is in camel-case
‘Was that you’ in camel case is ‘wasThatYou’
Join words, remove punctuations, keep the first letter uppercase of all words except the first letter
Thank you very much