I have this javascript code and I want o use it in html considering that the startdate and enddate are input boxes and the answer will automatically show on a third input box