I don’t know whats wrong with my code
The instruction is:
Step 33
Below your .small-text
element, create a new p
element with the text Calories
. Also below the .left-container
element, create a new span
element with the text 230
.
It marks error
Test: Sorry, your code does not pass. Try again.
Hint:Your p
element should have the text Calories
.
Can you help me, please?
<!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">
<h2 class="bold small-text">Amount per serving</h2>
<p>Calories </p>
<div class="left-container"><span>230</span>
</div>
</div>
</div>
</body>
</html>