<div class="calories-info">
<div class="left-container">
<h2 class="bold small-text">Amount per serving</h2>
<p>Calories</p>
<span>230</span>
</div>
</div>
Thank you very much
<div class="calories-info">
<div class="left-container">
<h2 class="bold small-text">Amount per serving</h2>
<p>Calories</p>
<span>230</span>
</div>
</div>
Thank you very much
In the future, please use the Ask For Help button.
It looks like the code isn’t passing because you put your span in the wrong place.
Also below the
.left-container
element, create a newspan
element with the text230
.
yes I’ve used the Help Button and i saw several different ways within Help section. Still it won’t pass
<div class="calories-info">
<div class="left-container">
<span>230</span>
<h2 class="bold small-text">Amount per serving</h2>
<p>Calories</p>
</div>
</div>
The .left-container element is the whole div element.
Try to put the span after the div closing tag.
You didn’t create a post with the Ask for Help button…?
I’ve edited your code for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.
You can also use the “preformatted text” tool in the editor (</>
) to add backticks around text.
See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (').
ah ok cool. thank you for your time. many blessings
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.