html
html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<!DOCTYPE html>
<html>
<head>
<title>Ingredients to Nutrients Calculator</title>
<style>
#disclaimer {
display: none;
}
</style>
</head>
<h1>Insulin/Carb Coverage</h1>
<body>
<div class="container">
<label for="carbs">Carbohydrates</label><br>
<span><input type="number" id="carbs"><b>g</b></span><br>
<label for="ratio">Insulin Ratio</label><br>
<span><input type="number" id="ratio"><b>units</b></span><br>
<label for="bg">Current Blood Glucose</label><br>
Enter to Rename, Shift+Enter to Preview
css
css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
body {
background-color: lightgrey;
}
h1{
font-size:2em;
text-shadow: white 2px 2px 3px;
border: #ca19d7 solid 10px;
border-style:double;
background-color: #59d8da;
}
button{
background-color: yellow;
}
Enter to Rename, Shift+Enter to Preview
js
js
1
Enter to Rename, Shift+Enter to Preview
BROWSER
Console
Run