- First I've declared my variables,
- Then added an event listener to form submit,
- By using an async function and Axios I've received data from "https://api.openweathermap.org",
- The code checks the city name then if we don't have the the city creates a card,
- If the city already exists in the cards or there is a problem writes an error message for 5 seconds.
- It's also possible to change language by clicking the flags.
- Gif image of the project is below. 👇 Hope you like the project!