async function getQuote() {
let quoteType = await fetch(`quotes.json`).then(res => res.json())
let quote = await fetch(`programming-quotes.com/${quoteType.type}`).then(res => res.json())
console.log('done')
}

getQuote()

< id="Layer_1" data-name="Layer 1">