em to italicize

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>
    <em><p>Google was founded by <em>Larry Page and Sergey Bring while they were <u>Ph.D. students</u> at <strong>Stanford University</strong>.</p>
    </em> 
  </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.3; Win64; x64; rv:78.0) Gecko/20100101 Firefox/78.0.

Challenge: Use the em Tag to Italicize Text

Link to the challenge:

Hello and welcome to the FCC community~!

You’ve got an extra <em> tag here that might be throwing off the tests. :slight_smile:

1 Like

Thank you sir :slight_smile: i got it now ,what mistake i have made before

1 Like