Cannot pass this test

Tell us what’s happening:

i changed the height of h4 as told but I am not able to pass this test.

Your code so far

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;
<div class="fullCard">
<div class="cardContent">
  <div class="cardText">
    <p>Google was founded by Larry Page and Sergey Brin while they were Ph.D. students at Stanford University.</p>
  <div class="cardLinks">
    <a href="" target="_blank" class="links">Larry Page</a>
    <a href="" target="_blank" class="links">Sergey Brin</a>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36.

Challenge: Adjust the Height of an Element Using the height Property

Link to the challenge:

Your code passes correctly for me. I am using Chrome browser.

i am also using chrome. but for me it says:
// running tests Your code should change the h4 height property to a value of 25 pixels. // tests completed

your code is correct and works on my end. i’m not sure what would cause that?

If you set it too a high number like 500px does the preview extend like this?

Yes. the preview is changing accordingly!

Here’s a screenshot

Just put the “height” over the “text align” (switch) … because it’s probably an automatic correction of the test and the bot doesn’t understand it if you don’t put it in order.

@logaritme tried that but it doesnt work that way also!

Your code is correct. Not sure what the issue is. Move onto the next challenge and come back to it later. Hopefully you don’t have any more issues moving forward!

So click on “Reset all code” ( just under “Run the tests”)
And do again the test as I told you ( put the “height” before and the " text align" after ).
If you can run the test successfully like that so come back to ask me why! :slight_smile:

@logaritme I did try that already!

There is a Chrome bug with zoom on this challenge, try setting the browser zoom to 100% (Ctrl+0). It should be fixed but I guess it isn’t in production yet.

Hello, rae.

As others have mentioned, sometimes the issue with the tests failing when your code is correct is the browser/version you are using.

Also, another reason is, any browser extensions you have enabled. They can block the tests (especially adblockers). So, potentially, try disabling any browser extensions.

Hope this helps.

Could it works in another browser?I had a similar problem before , and I got it when I use another brower.

@lasjorg, thank you all for the inputs. Setting the zoom to 100% fixed this.:+1::+1::+1: