Build a Personal Portfolio Webpage 11/12

Tell us what’s happening:

I am working on project#5 on FCC and I am not able to finish it.
Here is what test log says:

    1. The height of the welcome section should be equal to the height of the viewport.
  • s.assert.equal(document.getElementById(“welcome-section”).offsetHeight,window.innerHeight,"The height of #welcome-section is not equal to the height of the viewport ")

However, this does not help me. Could you, please check my code and give me some tip, hint?

Thank you!

Your code so far

Your browser information:

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

Link to the challenge:

Think how you could use the following code in your CSS.

    height: 100vh;
1 Like

This is fantastic! Got it now :wink: and learned about vh :slight_smile: This was extremely helpful! Thank you!

hi, where can i find the test log?

I’m stuck in the portfolio webpage and don’t know what I’m missing.

Hey HumbertM,

You can find it by clicking ‘‘Tests’’ button on codepen (if you are building your project by forking FCC CodePen pen).

I hope this helps!

Hope this will help… :slight_smile:
You can start building your project by forking this CodePen pen. Or you can use this CDN link to run the tests in any environment you like:

Thank you very much!!!

1 Like

Excellent nice to know about this Thx!

1 Like