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:
- 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?
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.
This is fantastic! Got it now and learned about vh 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.
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…
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
Excellent nice to know about this Thx!