Skip to content

Commit

Permalink
Update index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
franck403 authored Aug 1, 2024
1 parent 2849ce8 commit a16e62d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,7 @@ <h3 id='batterie'></h3>
const currentWeatherIcon = weatherIcons[currentWeatherCode] || 'bx-cloud';

document.getElementById('weather-icon').className = `bx ${currentWeatherIcon}`
document.getElementById('temperature').innerText = `Température max: ${data.current_weather.temperature}°C`;
document.getElementById('temperature').innerText = `Température: ${data.current_weather.temperature}°C`;
document.getElementById('uv-index').innerText = `UV max: ${data.daily.uv_index_max[0]}`;
document.getElementById('tomorrow-temp').innerText = `Température: ${data.daily.temperature_2m_max[1]}°C`;
document.getElementById('tomorrow-uv').innerText = `UV max : ${data.daily.uv_index_max[1]}`;
Expand Down

0 comments on commit a16e62d

Please sign in to comment.