Build a Weather App - Build a Weather App

What i did to generate an error was when i tried to get wheather for Paris

What error does it log to the console?

Something went wrong, please try again later.

that should not appear in the console, can you be clear on where you are seeing it?

It only appears when i choose Paris as the city and click get weather

and that is the correct behaviour, but are you really seeing it in the console? it should not be in the console

But this is the instruction from the user story: If the getWeather function had an error, the app should only show an alert that says Something went wrong, please try again later.

an alert does not show in the console

An alert does show in the console. Check my updated code please.

You are mixing up the two tests. Focus on one at a time.

A message in the console and an alert message in a dialog box are two different things, right?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.