Tell us what’s happening:
How do i set the height of the #welcome section to be equal to the viewport?
Your code so far
Check the link below
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36
.
Link to the challenge:
In the welcome id’s selector, add height: 100vh
to set the height of the welcome id to 100% of the viewport’s height.
50vw = 50% viewport width
60vh = 60% viewport height
etc.
2 Likes
I tried but it did not work. It still does not pass the test . Any suggestion?
1 Like