Weather app, how to write this function better? [closed]

Making the weather app and this is what ive built so far

const obj = {}

async function weather(city) {
    try {
        let response = await fetch(`http://api.openweathermap.org/data/2.5/weather?q=${city}&APPID=fe0199b3b09ac84b46e6413bc44a3a3f`, {mode: "cors"})
        let data = await response.json();

        obj["Weather"] = data.weather
        obj["Location"] = data.name
        obj["Temperatures"] = data.main
        obj["Wind"] = data.wind
        
    } catch (err){
        console.error(err)
    }

}

weather("London")

Based on these instructions: Weather app

Please tell me how to improve!!!!