i am using this api https://api.covid19api.com/live/country/south-africa to get results for my app. What i need to do is instead of writing the country name, i will use a variable which will contain the country name. I need to pass it in the api url
var countryName = "south-africa"
const fetchAPI = ()=> {
return fetch("https://api.covid19api.com/live/country/$countryName")
.then((response) => response.json())
.then((result) => {
//console.log(result)