Applied Visual Design: Use the strong Tag to Make Text Bold test passing

Tell us what’s happening:

wont let me pass the test

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 (Macintosh; Intel Mac OS X 10_14_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36.

Challenge: Use the strong Tag to Make Text Bold

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

Try to get the dot out of the strong tag and make sure you have no space inside the strong tag.
I hope it helps :slight_smile:

no dot in tag and no space and still saying that it is wrong

The strong tag should wrap around the words “Stanford University”.
this is what it is saying is wrong

That’s right. I have just done what I said you to do and the challenge passed for me just fine.
the dot should be excluded from strong tag,and be just in p tag.

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; }

Google

Google was founded by Larry Page and Sergey Brin while they were Ph.D. students at Stanford University.

is this the same code you used

I used the code you provided at the top of the page.

never mind it works now :grinning: :grinning:

Glad you made it! Happy coding. :smiley:

1 Like