Use the strong Tag to Make Text Bold?

Tell us what’s happening:

Your code so far


<style>
  h4 {
    text-align: center;
    height: 25px;
  }
  p {
    ext-align: justify;
    <strong  font-weight:bold>;
    { 

      font-weight:bold;
    }
  }
  .links {
    text-align: left;
    color: black;
  }
  .fullCard {
    width: 245px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin: 10px 5px;
    padding: 4px;
  }
  .cardContent {
    padding: 10px;
  }
  .cardText {
    margin-bottom: 30px;
  }
</style>
<div class="fullCard">
  <div class="cardContent">
    <div class="cardText">
      <h4>Google</h4>
      <p>Google was founded by Larry Page and Sergey Brin while they were Ph.D. students at Stanford University.</p>
    </div>
    <div class="cardLinks">
      <a href="https://en.wikipedia.org/wiki/Larry_Page" target="_blank" class="links">Larry Page</a><br><br>
      <a href="https://en.wikipedia.org/wiki/Sergey_Brin" target="_blank" class="links">Sergey Brin</a>
    </div>
  </div>
</div>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:48.0) Gecko/20100101 Firefox/48.0.

Link to the challenge:
https://learn.freecodecamp.org/responsive-web-design/applied-visual-design/use-the-strong-tag-to-make-text-bold

how to use strong tag in paragraph tag

 p {
    ext-align: justify;
    <strong  font-weight:bold>;
    { 

This should be like

 p {
    text-align: justify;

    { 

What are tags in Html? One which starts with <> and ends with </> The text in between these brackets is tag name.

so the strong tag will be <strong>Text which you want to display</strong>
These tags are part of html not css.

This is the change you should make

<p>Google was founded by Larry Page and Sergey Brin while they were Ph.D. students at <strong>Stanford University.</strong></p>```
2 Likes

Thanks for this useful information :slight_smile:

I did exactly that, but still have this message:
"The strong tag should wrap around the words “Stanford University”.
// tests completed

1 Like

hello do not use dot “.” in the sentence example:
<strong> Stanford University </ strong> </ p>
I hope I have helped

6 Likes

This is interesting. I usually just put Hey but now I can add more in the tag for more features. Thanks for the info.
Great!

2 Likes

I also had an issue in this exercise.
Make sure you check that there is no space before Stanford and no space after University.

4 Likes

Glad to share knowledge.

Stanford University.


Don’t put into above and below in the word Stanford University just in between

I removed dot from the text and only it worked.
Stanford University

I was struggling to find out the problem, removing the (.) worked.

i m so cofused before 1 hourse but code not run showing me error again and again …after i saw your comment later apply without dot …code run sucessfully thanks bro
thanks forum

1 Like

Thanks ~ This is so helpful for me !!

The problem is the video is using the dot (.) that’s why there’s so much confusion

This is definitely helpful! Thank you! :slightly_smiling_face:

it worked without a . but its weird well thanks

Thanks, had the same problem

Mil gracias @arrycmfcc , me funcionó!