Right answer can not pass the test :( help me

I’m trying to finish Applied Visual Design: Adjust the Height of an Element Using the height Property challenge. I’m sure that I filled in the right answer height: 25px; but the test result showed

Your code should change the h4 height property to a value of 25 pixels.

I don’t know how to solve it, please help me, now I jump to next page and it works well.

Your code so far

<style>
  h4 {
    text-align: center;
    height: 25px;
  }
  p {
    text-align: justify;
  }
  .links {
    margin-right: 20px;
    text-align: left;
  }
  .fullCard {
    width: 245px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin: 10px 5px;
    padding: 4px;
  }
  .cardContent {
    padding: 10px;
  }
</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 Stanford University.</p>
    </div>
    <div class="cardLinks">
      <a href="https://en.wikipedia.org/wiki/Larry_Page" target="_blank" class="links">Larry Page</a>
      <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: Chrome/ 69.0.3497.100 (Windows 10 x64) .

Link to the challenge:
https://learn.freecodecamp.org/responsive-web-design/applied-visual-design/adjust-the-height-of-an-element-using-the-height-property

That looks correct.

Are you using Chrome browser? Some of the tests don’t work unless you are using Chrome.

It accepted your code on my end. I’m using Chrome.

Yeah I’m using Chrome and I can pass other tests normally:

Is it possible to modify the serve data so that I can pass this challenge directly?

It may sound unbelievable, and I finally passed the test with the Firefox browser.

1 Like