Skip to content

Commit

Permalink
Update index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
HelenLazarotti authored Sep 22, 2022
1 parent 68ff726 commit e81af86
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Weather</title>
<link rel="stylesheet" href="css/index.css">
<!--E o Font Awesome para os ícones
Digito no google: cdn js > entro > procuro por > font awesome > clico > 1º item copio > colo aqui-->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.2.0/css/all.min.css" integrity="sha512-xh6O/CkQoPOWDdYTDqeRdPCVd1SpvCA9XXcUnZS2FmJNp1coAFzvtCN9BmamE+4aHK8yyUHUSCcJHgXloTyT2A==" crossorigin="anonymous" referrerpolicy="no-referrer" />
</head>
<body>
Expand All @@ -15,7 +17,9 @@ <h3>Confira o clima de uma cidade:</h3>
<div class="form-input-container">
<input type="text" placeholder="Digite o nome da cidade" id="city-input">
<button id="search">
<!--Quando tabalho com o font awesome, preciso por sempre:-->
<i class="fa-solid fa-magnifying-glass"></i>
<!--Criou já o campo de search com a lupinha-->
</button>
</div>
</div>
Expand All @@ -26,6 +30,8 @@ <h2>
<span id="city"></span>
<img src="" alt="Bandeira da cidade" id="country">
</h2>

<!--Uso o &deg para colocar o icone de graus-->
<p id="temperature"><span></span>&deg;C</p>

<div id="description-container">
Expand Down

0 comments on commit e81af86

Please sign in to comment.