Skip to content

Commit

Permalink
Added background image HTML
Browse files Browse the repository at this point in the history
  • Loading branch information
KatieRiches committed May 28, 2022
1 parent 5716de4 commit 56b1db7
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 12 deletions.
Binary file added .DS_Store
Binary file not shown.
Binary file added Clouds.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 3 additions & 4 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<link rel="stylesheet" href="src/style.css" />
<title>Weather App</title>
</head>
<body>
<body background="Clouds.jpg">
<div class="container">
<div class="weather-app-wrapper">
<div class="weather-app">
Expand All @@ -30,6 +30,7 @@
autocomplete="off"
/>
</div>

<div class="col-3">
<input
type="submit"
Expand Down Expand Up @@ -69,9 +70,7 @@ <h1 id="city"></h1>
<div class="weather-forecast" id="forecast"></div>
</div>
<small>
<a
href="https://github.com/wecodeschool/vanilla-weather-app"
target="_blank"
<a href="https://github.com/KatieRiches/weather-app" target="_blank"
>Open-source code</a
>
by Katie Riches
Expand Down
2 changes: 1 addition & 1 deletion src/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -141,4 +141,4 @@ fahrenheitLink.addEventListener("click", displayFahrenheitTemperature);
let celsiusLink = document.querySelector("#celsius-link");
celsiusLink.addEventListener("click", displayCelsiusTemperature);

search("New York");
search("Wellington");
14 changes: 7 additions & 7 deletions src/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ body {
}

h1 {
color: blueviolet;
color: #64c4ed;
font-size: 24px;
font-weight: 100;
line-height: 28.8px;
Expand All @@ -19,7 +19,7 @@ li {
margin: 0;
padding: 0;
list-style: none;
color: brown;
color: #9ba6a5;
font-size: 16px;
font-weight: 100;
line-height: 19px;
Expand All @@ -37,7 +37,7 @@ li:first-letter {
max-width: 600px;
margin: 30px auto;
padding: 20px;
border: 1px solid black;
border: 1px solid white;
border-radius: 10px;
}
.overview {
Expand All @@ -51,7 +51,7 @@ li:first-letter {
}

.weather-temperature strong {
color: blue;
color: #64c4ed;
font-size: 64px;
font-weight: 100;
line-height: 1;
Expand All @@ -73,19 +73,19 @@ li:first-letter {
}

.weather-forecast {
margin-top: 20px;
margin-top: 25px;
text-align: center;
color: whitesmoke;
opacity: 0.6;
}

.weather-forecast .day {
font-size: 16px;
color: blueviolet;
opacity: 0.6;
}

.forecast-temp {
font-size: 13px;
color: #000;
}

.high {
Expand Down

0 comments on commit 56b1db7

Please sign in to comment.