Use the strong Tag to Make Text Bolding

Use the strong Tag to Make Text Bolding
0

#1

Tell us what’s happening:

Your code so far
From the " use the strong tag to make text Bold exercise" i was ask to make the “Standford University” bold by wrapping it into the p tag, which i did, when try running the test, it was not running . please what did do run?


<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 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 UBrowser/7.0.185.1002 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


#2

Just make “Stanford University” bold. Not “Stanford University.”


#3

please what are the difference between your “stanford University’s” ? i dont understand you.


#4

One has a period, one does not.


#5

ok, have already done that, by removing the period (.), is still not yielding.


#6

It is because you included the space in front of Stanford University. There should be nothing between you tags except “Stanford University”. I just tested it and it worked for me. Although this doesn’t really affect anything in real life, FCC is teaching you proper coding etiquette.


#7

i have deleted the spaces in between the strong tags, no changes yet. thanks for your words of encouragement !!! but how i forge ahead from this task? is there any other way out for me to be able to continue with the next task?
thank you sir for your prompt response.


#8

This worked for me. As @Ottomaddix mentioned, the ending strong tag needs to be before the period, but inside the p tag.

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

#9

Thanks it has worked out.