Learn typography building nutrition label

im on step 32

and im putting the h1 header in the wrong place apparently but can’t figure where it goes Ive moved it a million times and its still not passing. What am I missing here?

Please post your actual code instead of a picture. Also, please include a link to the challenge - there are many step 32s. Thanks

  <div class="calories-info"> 
     <p class="bold sm-text">Amount per serving</p> 
         </div>
      <h1>Calories<span class="right">230</span></h1>

I’ve edited your post 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 (’).

1 Like

Ahha, your new h1 is below the div instead of below the p. You only need to move it up a line.

1 Like

oh okay this is my first time using a forum for code I didn’t know that. Thank you.

1 Like

oh ok so just move the h1 up or the entire line

The whole element, which is the opening tag, the contained text (with the span element), and the closing tag.

omg it worked .Thank You Ive been trying to figure this out for 30 min. Thanks JeremyLT.

1 Like

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.