Tell us what’s happening:
Describe your issue in detail here:
Hi, I’m trying to complete the last project, but there is a user story I can’t figure out.
I need to set the height of the welcomes-section to the height of the viewport, which I do, but it doesn’t accept my solution.
Your code so far
This is what I do to set the height: #welcome-section {
text-align: center;
height: 100vh;
}
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.131 Safari/537.36 Edg/92.0.902.67
I think we would probably need to be able to see the project so we can test it for ourselves? Is it available publicly somewhere and can you provide a link?
Thank you very much, it worked!
I just don’t know why I had to do that, even though I don’t set the padding to a certain value, it isn’t zero. Know why that is?