Version: 1.0
This is a Chrome extension that displays the weather, temperature, humidity, wind speed, and air quality on a new tab. It also provides links to your favorite websites. You can choose between a light and dark theme.
To add your own link to your favorite site, you just need to add a line to the HTML code, for example:
<a id="github" href="https://www.github.com/">
<i class="fab fa-github"></i>
</a>
To display the weather you need to have a free API key, which can be obtained from the OpenWeatherMap website.
The resulting key and city name must be added to the corresponding lines of the weather.js
file:
const key = 'key';
const city_name = 'city name';
If you generated a new API key and the weather doesn't work, then try to wait for a while until the key is activated.
To set the name you need to change the line in the greeting.js
file:
var name = 'name';