What am i doing wrong? i wrapped the strong tag around the words"Standford University " as instructed but i am still getting error message e

Tell us what’s happening:

Your code so far


<style>
  h4 {
    text-align: center;
    height: 25px;
  }
  p {
    text-align: justify;
  }
  .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 <strong>standford university</strong></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; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36.

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

It doesn’t match anymore, it was capitalised before. You also have removed the full stop at the end of the period…

I only did that cause it gave error msg from the beginning after i had added the strong tag to the initial markup,so i tried twerking it a bit

i have even reset the code but same problem persists.

Show your new code, let’s see

Welcome China.

Good effort!

The only reason why your line was not approved is because you included the full stop(.) in between the opening and closing strong tag.

Instead of doing this:

<strong>Stanford University.</strong> , which is what you did,

try this instead:

<strong>Stanford University</strong>.

Make sure the closing strong tag, comes before the full stop.

Tell us what’s happening:

Your code so far


<style>
  h4 {
    text-align: center;
    height: 25px;
  }
  p {
    text-align: justify;
  }
  .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  <strong>Stanford University.</strong></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; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36.

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

Looks oké, but there is an extra space in there, before <strong>. Maybe that’s causing the error message?

The dot (.) after ‘Stanford University’ should be after the </strong> end tag.

Hello China. Good effort!

The only reason why your line was not approved is because you included the full stop(.) in between the opening and closing strong tag.

Instead of doing this:

<strong>Stanford University.</strong> , which is what you did,

try this instead:

<strong>Stanford University</strong>.

Make sure the closing strong tag, comes before the full stop.

@simpleasebisees Ebi you are a life saver, that was exactly the problem. thanks for the way you broke it down. thanks bro.
@ilenia thanks,it has been resolved now.

1 Like

@sandrab thanks alot, corrected now.
@Joke that wasn’t the problem but thanks for your input.

1 Like