Weather App FreeCodeCamp

Please, could anyone explain to me why I can access the current temperature from the api but the description and locationtimezone aren’t working?

Hello there.

You seem to have done it correctly for the temperature here:

const {temp} = data.main;

But use destructuring incorrectly here:

const {description} = data.weather[0].description;

I hope this helps you see the difference.

Thanks, I got it now