Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

HTML

Add a paragraph tag that has some text inside of it bolded.

I'm stuck on this one. I've used

 <p><b>This is some bold text.</b></p>

and this....

<p><strong>This is some bold text.</strong></p>

What is the correct method for this challenge?

Thank you

I just tried to post the code I used in this topic. I don't see my code that I used to explain my dilemma with HTML mastery question 4.

9 Answers

Okay. First you forgot to close your opening div tag like this <div> second you forgot to close your closing ol tag like this: </ol> and you need to put Shopping List in an <h2></h2> tag.

ok I'll clean this up.

Oops. I meant to delete the title tag and its contents.

Here is a thread on how to display code in the forum.

Where did you add the code?

I see, it is using the strong tags.

Thanks :)

I'm having the same problem.

Use strong tag instead of b tag..

<p><b>This is.<strong/> some bold text.<strong/></b></p>

Jason- you forgot the ">" on your closing tag of your ordered list element

<div
    <title>Shopping List</title>
    <h2>Shopping List</h2>
    <ol>
      <li>coffee</li>
      <li>eggs</li>
      <li>milk</li>
    </ol
<p><b>This is some bold text.</b></p>

</div>
</body>
</html>