Build a Personal Portfolio Webpage 11/12

Build a Personal Portfolio Webpage 11/12
0

#1

Tell us what’s happening:
Hey,

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:
https://learn.freecodecamp.org/responsive-web-design/responsive-web-design-projects/build-a-personal-portfolio-webpage


#2

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

    height: 100vh;

#3

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


#4

hi, where can i find the test log?

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


#5

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!


#6

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: https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js


#7

Thank you very much!!!


#8

Excellent nice to know about this Thx!