<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>
</div>
</header>
<div class="divider large"></div>
</div>
</body>
</html>```
Hi there and welcome to our community!
Itâs more helpful if you can share your actual code, rather than a screenshot, especially as it doesnât show your entire code anyhow.
For future reference, if you need help with a particular challenge, you can click on the Help button, which appears after you have submitted incorrect code three times.
This will create a forum post which automatically includes your full code, a direct link to the challenge, and an opportunity for you to describe your issue in detail.
If you could share your full code, that would help us to diagnose the problem.
You can use the Preformatted Text tool (</>
icon or CTRL+e) to create two sets of triple backticks, between which you can post your code, so that it displays correctly on the forum.
Hello, Igor!
Thank you for the note, adding the code right now
Guys, whatâs wrong?
I think I do everything in accordance with the instructions (âCreate a new div element below your header element, and give it a class attribute set to divider largeâ), but there is an error saying âYour new div element should come after your header elementâ
Ah, I see the issue. You have a stray closing div
tag inside your header element:
<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>
</div>
</header>
Remove it and your code will pass.
Omg, thank you!
I have no idea how did it get there
So stupidđ
Thanks again
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.