Https://www.freecodecamp.org/learn/responsive-web-design/applied-visual-design/use-the-u-tag-to-underline-text

I am stuck at u tag , It’s not moving forward

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 <u>Ph.D. students
      </u>
     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/86.0.4240.183 Safari/537.36.

Challenge: Use the u Tag to Underline Text

Link to the challenge:

Hey @pratiksha4,

It looks like in your code, the <u> tag is wrapping more than just `Ph.D students.

Here is shows that it’s also wrapping around a newline/enter. The HTML test is very sensitive and you want to solve it how it wants it. Try removing that newline and make sure it wraps only what it asks like : <u>P.h.D students</u>

Good Luck and Happy Coding :slight_smile:

Hey @pratiksha4
Welcome to the Free Code Camp Forum.

As @Catalactics Said you have not wrapped the Ph.D. students.
The </u> is in the new line.
So make the line as <u>Ph.D. students</u>

Hope this Helped you.
Happy Coding!
Thanks,
Codely