sequenceDiagram
        actor Bruker
        participant App
        participant Api

        Bruker->>App: Click on retrieve weather button

        App->>Api: fetchWeatherData()

        alt sukess
        
            Api-->>App: Weather data is returned
            App-->>Bruker: Show weather data

        else feil

            Api-->>App: Error
            App-->>Bruker: Show error message

        end