Last active
March 31, 2019 18:53
-
-
Save BolajiAyodeji/b1b8d3b20f8d8f6de59ea09e2343f42e 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, viewport-fit=cover"> | |
<meta name="description" content="Simple weight converter"> | |
<title>Weight Converter</title> | |
<link rel="stylesheet" href="css/app.css"> | |
<link rel="shortcut icon" href="img/favicon.png" type="image/x-icon"> | |
</head> | |
<body> | |
<div class="container"> | |
<div class="row"> | |
<div class="col-md-6 offset-md-3"> | |
<h1 class="display-4 text-center mb-3"> | |
Weight Converter | |
</h1> | |
<form> | |
<div class="form-group"> | |
<input type="number" class="form-control form-control-lg" id="lbsInput" placeholder="Enter pounds.." required> | |
</div> | |
</form> | |
<div id="output"> | |
<div class="card bg-primary mb-2"> | |
<div class="card-block"> | |
<h4>Grams:</h4> | |
<div id="gOutput"></div> | |
</div> | |
</div> | |
<div class="card bg-success mb-2"> | |
<div class="card-block"> | |
<h4>Kilograms:</h4> | |
<div id="kgOutput"></div> | |
</div> | |
</div> | |
<div class="card bg-danger mb-2"> | |
<div class="card-block"> | |
<h4>Ounces:</h4> | |
<div id="ozOutput"></div> | |
</div> | |
</div> | |
</div> | |
</div> | |
</div> | |
</div> | |
<script src="js/app.js"></script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment