Use the u Tag to Underline Text Glitch?

Tell us what’s happening:

okay I"m starting to get real frustrated :frowning: none of my code is completing I see the change in the box but when I run test it says that i didn’t do the underline but it’s there :frowning:

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/76.0.3809.132 Safari/537.36.

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

Do not have a space between the opening <u> and the word ‘Ph.D.’.
<u>Ph.D. students</u>

Tried that it didn’t work.

Is anything logged in your developer’s console, after hitting ‘Run Tests’?

What is your current solution? What browser are you using?

“The u tag should wrap around the text “Ph.D. students”.”

I’m using chrome

What is your current solution code?

When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

See this post to find the backtick on your keyboard. The “preformatted text” tool in the editor (</>) will also add backticks around text.

Note: Backticks are not single quotes.

markdown_Forums

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

As @Sky020 pointed out in their first comment, you have a space inside your u tag that does not belong there.

there is no space, it just looks like that

You have a space between <u> and Ph.D..

<u>Ph.D students</u> at <strong>Stanford University</strong>.</p>

i don’t see a space, im confused

i’ve restarted the code like four times and I see on the other side that the underline is there

The code that you included after I asked you to share your code included an extra space.

oh i understood that, so I changed it and when I ran the test it still wouldn’t let me past.

What is your current full code solution?

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

Now you are missing a space between “Ph.D.” and “students”. No spaces need to be added or removed from the original text.

I found out what was wrong, I had to lower my zoom percentage