Javascript-Age in days challange-1 (Source code)
JAVASCRIPT function ageInDays (){ var birthYear = prompt ( "What year you born......... good friend" ); var ageInDays = ( 2020 - birthYear )* 365 ; var h1 = document . createElement ( "h1" ); var textAnswer = document . createTextNode ( 'You are' + ageInDays + 'Days' ); h1 . setAttribute ( 'id' , 'ageInDays' ); h1 . appendChild ( textAnswer ); document . getElementById ( 'result' ). ap...