function renderLicenseBadge(license) {
    let chosenLicense;
    switch(license) {
      case 'MIT':
        chosenLicense = `[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)`
        break
      case 'GNU GPLv3':
        chosenLicense = `[![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)`
        break
      case 'Mozilla Public License 2.0':
        chosenLicense = `[![License: MPL 2.0](https://img.shields.io/badge/License-MPL%202.0-brightgreen.svg)](https://opensource.org/licenses/MPL-2.0)`
        break
      case 'Unlicense':
        chosenLicense = `[![License: Unlicense](https://img.shields.io/badge/license-Unlicense-blue.svg)](http://unlicense.org/)`
        break
      case 'GNU GPLv3':
        chosenLicense = `[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)`
        break
  
    }
    return chosenLicense;
  }
// 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) {
    let chosenLicense;
    switch(license) {
      case 'MIT':
        chosenLicense = `[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)`
        break
      case 'GNU GPLv3':
        chosenLicense = `[![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)`
        break
      case 'Mozilla Public License 2.0':
        chosenLicense = `[![License: MPL 2.0](https://img.shields.io/badge/License-MPL%202.0-brightgreen.svg)](https://opensource.org/licenses/MPL-2.0)`
        break
      case 'Unlicense':
        chosenLicense = `[![License: Unlicense](https://img.shields.io/badge/license-Unlicense-blue.svg)](http://unlicense.org/)`
        break
      case 'GNU GPLv3':
        chosenLicense = `[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)`
        break
    }
    return chosenLicense;
  }
function renderLicenseBadge ( license ) { let chosenLicense ; switch ( license ) { case 'MIT' : chosenLicense = ` ` break case 'GNU GPLv3' : chosenLicense = ` ` break case 'Mozilla Public License 2.0' : chosenLicense = ` ` break case 'Unlicense' : chosenLicense = ` ` break case 'GNU GPLv3' : chosenLicense = ` ` break } return chosenLicense ; }
If there is no license, return an empty string
If there is no license return an empty string