js-snippets-1.md#

(async () => {
    const url = "https://codedamn.com/"
    const result = await (await fetch(url)).json()

    if(result.name === 'you') {
        alert('You are awesome!')
    } else {
        alert('You are awesome too!')
    }
})()