Loading js/WeatherCard.js +5 −3 Original line number Diff line number Diff line // Description: Classe WeatherCard class WeatherCard{ static json; static city; static forecast; json; city; forecast; constructor(CodeInsee) { this.CodeInsee = CodeInsee; this.json = null; Loading @@ -26,10 +26,12 @@ class WeatherCard{ this.city = data.city; this.forecast = data.forecast; /** console.log(this.json); console.log(this.city); console.log(this.forecast); console.log(this.city.name); **/ } catch (error) { console.error("Erreur lors de la récupération des données météo:", error); } Loading Loading
js/WeatherCard.js +5 −3 Original line number Diff line number Diff line // Description: Classe WeatherCard class WeatherCard{ static json; static city; static forecast; json; city; forecast; constructor(CodeInsee) { this.CodeInsee = CodeInsee; this.json = null; Loading @@ -26,10 +26,12 @@ class WeatherCard{ this.city = data.city; this.forecast = data.forecast; /** console.log(this.json); console.log(this.city); console.log(this.forecast); console.log(this.city.name); **/ } catch (error) { console.error("Erreur lors de la récupération des données météo:", error); } Loading