Created
August 1, 2021 03:04
-
-
Save CleverFox137/28efe6475ec461b7c9edd7f18747ed45 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE 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>Document</title> | |
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous"> | |
<link rel="stylesheet" href="css/style.css"> | |
</head> | |
<body> | |
<div class="container-fluid header-weather"> | |
<div class="row"> | |
<div class="col-md-4 col-sm-12"> | |
<h1><%= city %></h1> | |
<p>Weather</p> | |
</div> | |
<div class="col-md-4 sun col-sm-12"> | |
<img class="sun-pic" src="images/finalsun.png" alt=""> | |
</div> | |
<div class="col-md-4 col-sm-12"> | |
<h1>Current Temperature: <%= currentTemp %></h1> | |
</div> | |
</div> | |
</div> | |
<div class="container-fluid"> | |
<div class="row"> | |
<% for(int index = 0; index < days.length; index++){ %> | |
<div class="col-md-1 col-sm-12"> | |
<h1><%= days[index] %></h1> | |
<h2><%= dayTemps[index] %></h2> | |
</div> | |
<% } %> | |
</div> | |
</div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment