GitHub repository: washim09/testform
Created: 2021-05-12T14:40:46Z
Description: In this code i used bootstrap & html to create form. for this 1st i put bootstrap cdn link in head of html. then creat form with help of form tag. In form tag i used 4 input tag according to given task - Name, Email, Date of Birth, and About Yourself. For Name input i used text type. For Email input i used email type. For Date of Birth i used date type. And for About yourself i used textarea. After this i used google capcha and gentrate site key and put it on recapcha tag of html. And in last i gave two input for buttons (cancel & submit).   One more thing i used in this form that is 3 minutes timer for this timer i used javascript. For timer i took ID with name of timer and i get the element by this  ID which is 3 minute. Then i make function to start timer with name start timer. In this function i took var name of present time and in this variable  get the element by timer id which our countdown time and then i split this with present time in took in a variable which is timearray then i declare in in var m and var s. Then i used if condition that second is eual to 59 and minute is less then 0 then its again get by element with ID timer and start a timer with mili second. Then i make 2nd function name of chechkSecond in this i m going to check seconds like sec is less then 10 and sec is grater then 0 both are true so add the 0 in front  of number < 10. Then i took if sec is less then 0 so sec start with 59 and then timer will start  In the last i took two buttons which is not working its only for display.