I need help on this pllzzz Em Tag to Italicize Text

I need help on this pllzzz Em Tag to Italicize Text
0.0 0

#1

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> <em> Google was founded by Larry Page and Sergey Brin while they were Ph.D.  at Stanford university.
      </em>
      </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/67.0.3396.99 Safari/537.36.

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


#2

Hi,

You have correctly used the em tags but you have changed some of the pre-existing code (i.e the strong tags). What you need to do is reset the code and then add in the em tags after and before the p tags without changing any code that is already there (you can have a strong element inside a em element):

<p><em>//all the pre existing text/code</em></p>

Hope this helps :slight_smile:


#3

thank u so mach…