Information Input



By checking this box you are agreeing to the running of this function:

function displayUserLifespan(){  
                
  let firstName = document.getElementById("fName").value; 
                
  let lastName = document.getElementById("lName").value; 
                
 
                
  if (firstName + lastName){ 
                
  document.getElementById("showinputhere").innerHTML =  
                
      firstName + " " + lastName + " has been alive for";
                
  } else { 
                
  document.getElementById("showinputhere").innerHTML =  
                
      "Not enough data provided.";
  } 
                
}