easy-weather-npm
Version:
A JavaScript plugin for getting Weather information
29 lines (27 loc) • 872 B
HTML
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Classic template weather</title>
<link rel="stylesheet" href="css/styles.css">
</head>
<body>
<div id="weather" style="max-width: 380px;"></div>
<script src="js/easy-weather.js"></script>
<script type="text/javascript">
const weather = new EasyWeather('#weather', {
key: '1d74efe09d3495016664881f4a09a7ff',
location: 'London',
iconStyle: 'line',
iconAnimation: true,
template: 'classic',
description: true,
details: true,
forecast: true,
quarterly: true
});
</script>
</body>
</html>