-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
78 lines (78 loc) · 2.79 KB
/
index.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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
<!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.0" />
<title>Learn Typography By Building A Nutrition Label</title>
<link
rel="stylesheet"
href="https://fonts.googleapis.com/css?family=Open+Sans:400,700,800"
/>
<link rel="stylesheet" href="styles.css" />
</head>
<body>
<div class="label">
<header>
<h1 class="bold">Nutrition Facts</h1>
<div class="divider"></div>
<p>8 servings per container</p>
<p class="bold">
Serving size <span class="right">2/3 cup (55g)</span>
</p>
</header>
<div class="divider lg"></div>
<div class="calories-info">
<p class="bold sm-text">Amount per serving</p>
<h1>Calories <span class="right">230</span></h1>
</div>
<div class="divider md"></div>
<div class="daily-value sm-text">
<p class="right bold no-divider">% Daily Value *</p>
<div class="divider md"></div>
<p>
<span class="bold">Total Fat</span> 8g
<span class="bold right">10%</span>
</p>
<p class="indent no-divider">
Saturated Fat 1g <span class="bold right">5%</span>
</p>
<div class="divider"></div>
<p class="indent no-divider"><i>Trans</i> Fat 0g</p>
<div class="divider"></div>
<p>
<span class="bold">Cholesterol</span> 0mg
<span class="bold right">0%</span>
</p>
<p>
<span class="bold">Sodium</span> 160mg
<span class="bold right">7%</span>
</p>
<p>
<span class="bold">Total Carbohydrate</span> 37g
<span class="bold right">13%</span>
</p>
<p class="indent no-divider">Dietary Fiber 4g</p>
<div class="divider"></div>
<p class="indent no-divider">Total Sugars 12g</p>
<div class="divider dbl-indent"></div>
<p class="dbl-indent no-divider">
Includes 10g Added Sugars <span class="bold right">20%</span>
</p>
<div class="divider"></div>
<p class="no-divider"><span>Protein</span> 3g</p>
<div class="divider lg"></div>
<p>Vitamin D 2mcg <span class="right">10%</span></p>
<p>Calcium 260mg <span class="right">20%</span></p>
<p>Iron 8mg <span class="right">45%</span></p>
<p class="no-divider">Potassium 235mg <span class="right">6%</span></p>
</div>
<div class="divider md"></div>
<p class="note">
* The % Daily Value (DV) tells you how much a nutrient in a serving of
food contributes to a daily diet. 2,000 calories a day is used for
general nutrition advice.
</p>
</div>
</body>
</html>