Personal profile - failing test

Personal profile - failing test
0

#1

My code [https://codepen.io/farooqumars/pen/ePzwOR] is getting failed on this test:

The height of the welcome section should be equal to the height of the viewport.

Though I have set: height: 100vh; but still it is giving error. Please help.


#2

Remove border property from it.


#3

Hi,
I extended my code [https://codepen.io/farooqumars/pen/ePzwOR] a bit today but on saving, it started giving the same error again:

The height of #welcome-section is not equal to the height of the viewport : expected 578 to equal 577

I don’t know where it is having that 1px difference. Please help.


#4

Not sure if you fixed it or what, but it passes the test for me. If you still have issues, maybe try a different browser.

What does running the two lines below in the console print out, run them one at a time (to get to the console, Ctrl + Shift + J (Windows / Linux) or Cmd + Opt + J (Mac)).

document.getElementById("welcome-section").offsetHeight

window.innerHeight