Skip to content

Commit

Permalink
Update index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
Neel-07 authored Oct 12, 2023
1 parent a4e4468 commit a9c7534
Showing 1 changed file with 29 additions and 22 deletions.
51 changes: 29 additions & 22 deletions index.html
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">&#8451</span>
</div>
<div id="fahrenheit">
<input type="number" name="" placeholder="Fahrenheit">
<span class="icon">&#8457</span>
</div>
<div id="kelvin">
<input type="number" name="" placeholder="Kelvin">
<span class="icon">&#8490</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>

0 comments on commit a9c7534

Please sign in to comment.