Skip to main content

Weather

Big O

Fake data + Fetch data + React JS / TS​

/* styles.css */
.weather-dashboard {
font-family: Arial, sans-serif;
width: 300px;
margin: 20px auto;
padding: 20px;
border: 1px solid #ccc;
border-radius: 5px;
}

#citySearch {
width: calc(100% - 20px);
padding: 8px;
margin-bottom: 10px;
}

#searchButton {
padding: 8px 12px;
margin-bottom: 20px;
cursor: pointer;
}

#WeatherData div {
margin-bottom: 5px;
}

#previousSearches h3 {
margin-bottom: 5px;
}

#previousSearches ul {
padding-left: 20px;
}