Tell us what’s happening:
I do not know how to find the viewport height I need help.
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/66.0.3359.139 Safari/537.36
.
Link to the challenge:
Learn to code. Build projects. Earn certifications.Since 2015, 40,000 graduates have gotten jobs at tech companies including Google, Apple, Amazon, and Microsoft.
Have a look at the section viewport-percentage lengths ! I hope that helps!
That didn’t help much but thanks anyway.
1 Like
You need to look at the bootstrap columns inorder to postion the pictures.
That isn’t the problem go back to my code and look at the 3 single lines and click that, that shows what I need to do but I can’t find anyway how.
Sorry I didn’t actually look at the code. I was just going on how the page looked visually.
That’s no problem it’s saying I need to set The height of the welcome section(a section I made) should be equal to the height of the viewport. but I don’t know how I’ve searched all over the internet :l
In the link that provided in the previous post, the description for the first unit, vh
, is:
Equal to 1% of the height of the viewport’s initial containing block.
So 100vh
, is equivalent to the viewport’s height.
You could also do this with JavaScript, such as using Window.innerHeight
.