Tell us what’s happening:
Describe your issue in detail here.
I am having a difficult time doing lesson 33 . Learning Typography by building a Nutrition Label. I am cnfuse about how to do it. Can someone help me? Your code so far
<!-- file: index.html -->
<!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>
<!-- User Editable Region -->
<div class="calories-info">
<p class="bold sm-text">Amount per serving</p>
<h1>Calories <span class="right">230</span></h1>
</div>
</div>
</div>
<!-- User Editable Region -->
</div>
</body>
</html>
the way I deal with these is I split up the instructions into steps and then complete them one by one
So in this case:
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 .
Becomes:
1- Below your .small-text element (so find that element first)
2- create a new p element
3- with the text Calories
4- also below the .left-container element (find this other element)
5- create a new span element
6- with the text 230
Right now you have not followed this list of things. So I would reset and try this one again. (one step at a time)
If you have a question about a specific challenge as it relates to your written code for that challenge, and you’ve tried to solve it at least 3 times so far and still need some help, just click the Ask for Help button located on the challenge (it looks like a question mark).
This button will create a new topic with all code you have written and include a link to the challenge also. You will still be able to ask any questions in the post before submitting it to the forum.
If you have a question about a specific challenge as it relates to your written code for that challenge, and you’ve tried to solve it at least 3 times so far and still need some help, just click the Ask for Help button located on the challenge (it looks like a question mark).
This button will create a new topic with all code you have written and include a link to the challenge also. You will still be able to ask any questions in the post before submitting it to the forum.
what the question mean is you should add the span element after the .left-container, not inside the element. So, you should write the span element after the of class="left-container. That is why the question ask this after writing p
If you have a question about a specific challenge as it relates to your written code for that challenge, and you’ve tried to solve it at least 3 times so far and still need some help, just click the Ask for Help button located on the challenge (it looks like a question mark).
This button will create a new topic with all code you have written and include a link to the challenge also. You will still be able to ask any questions in the post before submitting it to the forum.