-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
29 additions
and
22 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,34 @@ | ||
<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" /> | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<link rel="stylesheet" href="styles.css"> <!-- Link to your CSS file --> | ||
</head> | ||
<body> | ||
|
||
<div class="container"> | ||
<div class="title"> | ||
<h1>Temperature Converter</h1> | ||
<span class="temperature-icon"><i class="fas fa-temperature-high"></i></span> | ||
</div> | ||
|
||
<div class="title"> | ||
<h1>Temperature Converter</h1> | ||
<span class="Temperature-icon"><i class="fa-solid fa-temperature-three-quarters"></i></span> | ||
</div> | ||
|
||
<div id="celsius"> | ||
<input type="number" name="" placeholder="Celsius"> | ||
<span class="icon">℃</span> | ||
</div> | ||
<div id="fahrenheit"> | ||
<input type="number" name="" placeholder="Fahrenheit"> | ||
<span class="icon">℉</span> | ||
</div> | ||
<div id="kelvin"> | ||
<input type="number" name="" placeholder="Kelvin"> | ||
<span class="icon">K</span> | ||
</div> | ||
|
||
<div class="button"> | ||
<button>All Clear</button> | ||
</div> | ||
<div class="temperature-input" id="celsius"> | ||
<input type="number" id="celsiusInput" placeholder="Celsius"> | ||
<span class="unit">°C</span> | ||
</div> | ||
<div class="temperature-input" id="fahrenheit"> | ||
<input type="number" id="fahrenheitInput" placeholder="Fahrenheit"> | ||
<span class="unit">°F</span> | ||
</div> | ||
<div class="temperature-input" id="kelvin"> | ||
<input type="number" id="kelvinInput" placeholder="Kelvin"> | ||
<span class="unit">K</span> | ||
</div> | ||
|
||
<div class="button"> | ||
<button id="clearButton">All Clear</button> | ||
</div> | ||
</div> | ||
|
||
<script src="script.js"></script> <!-- Include your JavaScript file --> | ||
</body> | ||
</html> |