function renderLicenseBadge(license) {
  
  const licObj = {};
  if(license === "MIT") {
    licObj['lBadge'] = "https://img.shields.io/badge/license-MIT-brightgreen.svg";
    licObj['lLink'] = "https://choosealicense.com/licenses/mit/";
  }
  else if(license === "Apache 2.0") {
    licObj['lBadge'] = "https://img.shields.io/badge/license-Apache%202.0-blue.svg";
    licObj['lLink'] = "https://choosealicense.com/licenses/apache-2.0/";
  }
  else if(license === "GPL 3.0") {
    licObj['lBadge'] = "https://img.shields.io/badge/license-GPL%203.0-red.svg";
    licObj['lLink'] = "https://choosealicense.com/licenses/gpl-3.0/";
  }
  else if(license === "BSL 1") {
    licObj['lBadge'] = "https://img.shields.io/badge/license-BSL%201-yellow.svg";
    licObj['lLink'] = "https://choosealicense.com/licenses/bsl-1.0/";
  }
  else {
    licObj['lBadge'] = "";
    licObj['lLink'] = "";
  }
  return licObj;
}
// If there is no license, return an empty string
If there is no license, return an empty string
If there is no license return an empty string
function renderLicenseBadge(license) {
  const licObj = {};
  if(license === "MIT") {
    licObj['lBadge'] = "https://img.shields.io/badge/license-MIT-brightgreen.svg";
    licObj['lLink'] = "https://choosealicense.com/licenses/mit/";
  }
  else if(license === "Apache 2.0") {
    licObj['lBadge'] = "https://img.shields.io/badge/license-Apache%202.0-blue.svg";
    licObj['lLink'] = "https://choosealicense.com/licenses/apache-2.0/";
  }
  else if(license === "GPL 3.0") {
    licObj['lBadge'] = "https://img.shields.io/badge/license-GPL%203.0-red.svg";
    licObj['lLink'] = "https://choosealicense.com/licenses/gpl-3.0/";
  }
  else if(license === "BSL 1") {
    licObj['lBadge'] = "https://img.shields.io/badge/license-BSL%201-yellow.svg";
    licObj['lLink'] = "https://choosealicense.com/licenses/bsl-1.0/";
  }
  else {
    licObj['lBadge'] = "";
    licObj['lLink'] = "";
  }
  return licObj;
}
function renderLicenseBadge ( license ) { const licObj = { } ; if ( license === "MIT" ) { licObj [ 'lBadge' ] = "https://img.shields.io/badge/license-MIT-brightgreen.svg" ; licObj [ 'lLink' ] = "https://choosealicense.com/licenses/mit/" ; } else if ( license === "Apache 2.0" ) { licObj [ 'lBadge' ] = "https://img.shields.io/badge/license-Apache%202.0-blue.svg" ; licObj [ 'lLink' ] = "https://choosealicense.com/licenses/apache-2.0/" ; } else if ( license === "GPL 3.0" ) { licObj [ 'lBadge' ] = "https://img.shields.io/badge/license-GPL%203.0-red.svg" ; licObj [ 'lLink' ] = "https://choosealicense.com/licenses/gpl-3.0/" ; } else if ( license === "BSL 1" ) { licObj [ 'lBadge' ] = "https://img.shields.io/badge/license-BSL%201-yellow.svg" ; licObj [ 'lLink' ] = "https://choosealicense.com/licenses/bsl-1.0/" ; } else { licObj [ 'lBadge' ] = "" ; licObj [ 'lLink' ] = "" ; } return licObj ; }
If there is no license, return an empty string
If there is no license return an empty string