Skip to content

Commit

Permalink
Merge pull request #7 from hoangsonww/new-features
Browse files Browse the repository at this point in the history
New features
  • Loading branch information
hoangsonww authored Apr 3, 2024
2 parents 393a87f + 0600bd9 commit b08ff58
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ Contributions are what make the open-source community such an amazing place to l

## License

Distributed under the MIT License. See `LICENSE` for more information.
Distributed under the MIT License. See [LICENSE](../LICENSE) for more information.

## Contact

Expand Down
5 changes: 4 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
<meta http-equiv="content-language" content="en" />
<meta name="rating" content="general" />
<meta name="robots" content="index, follow" />
<meta name="rights" content="&copy; 2023 Son Nguyen Hoang" />

<link rel="canonical" href="https://hoangsonww.github.io/WeatherMate-App/" />
<link rel="stylesheet" href="src/css/style.css" />
Expand All @@ -27,11 +26,15 @@
<meta property="og:url" content="https://hoangsonww.github.io/WeatherMate-App/" />
<meta property="og:site_name" content="WeatherMate App" />
<meta property="og:type" content="website" />
<meta property="og:locale" content="en_US" />

<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:title" content="The WeatherMate App" />
<meta name="twitter:description" content="Stay updated with the latest weather forecasts with WeatherMate. Real-time updates, forecasts, and air quality info for your location." />
<meta name="twitter:image" content="https://hoangsonww.github.io/WeatherMate-App/utils/image.png" />
<meta name="twitter:site" content="@hoangsonww" />
<meta name="twitter:creator" content="@hoangsonww" />

<meta name="theme-color" content="#4DB8FF">

<script async src="https://www.googletagmanager.com/gtag/js?id=G-HXL07SQFH0"></script>
Expand Down
2 changes: 1 addition & 1 deletion src/js/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ function addWeatherToPage(data) {
weather.classList.add("weather");

weather.innerHTML = `
<h2 style="margin-left: 40px">${data.name}
<h2 style="margin-left: 20px">${data.name}
<button style="margin-left: 10px" id="favorite-btn">❤️ </button>
</h2>
<h2><img src="https://openweathermap.org/img/wn/${data.weather[0].icon}@2x.png" /> ${temp}${unit} <img src="https://openweathermap.org/img/wn/${data.weather[0].icon}@2x.png" /></h2>
Expand Down

0 comments on commit b08ff58

Please sign in to comment.