type or paste code here
```<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Nutrition Label</title>
<link href="https://fonts.googleapis.com/css?family=Open+Sans:400,700,800" rel="stylesheet">
<link href="./styles.css" rel="stylesheet">
</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>2/3 cup (55g)</span></p>
</header>
<div class="divider large"></div>
<div class="calories-info">
<div class="left-container">
<h2 class="bold small-text">Amount per serving</h2>
<p>Calories</p>
</div>
<span>230</span>
</div>
<div class="divider medium"></div>
<div class="daily-value small-text">
<p class="bold right">% Daily Value *</p>
<div class="divider"></div>
<p>
<span class="bold"> Total Fat</span>
<span>
<span>8g</span>
<span class="bold"> 10%</span>
</span>
</p>
</div>
</div>
</body>
</html>
Hello and welcome.
You need to add your code here. So we can help you more easy. Click the Ask for Help button located on the challenge (it looks like a question mark). This button only appears if you have tried to submit an answer at least three times.
You can also use the “preformatted text” tool in the editor (</>
) to add backticks around text.
Solution:
1.- You don’t need a span
arround 8g and 10%
. Remove It.
2.- You don’t need a span
arround 8g
. Remove It.
3.- You need a span
arround Total fat and 8g
Grets.
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.