My Portfolio page,can't figure out how to solve this mistake

Hello
I’m working on My Portfolio page and i can’t solve this error i’m always getting =" The height of the welcome section should be equal to the height of the viewport."
My page needs a lot of work still,but please have a look and help me solve it

Here is my Pen: https://codepen.io/stefan-ilic/pen/ZEBgeZg

Hello @progtimemachine :wave:
Welcome to the forum!

Have another look at your welcome-section id. Your padding property may be constraining the height.

Hope this helps.

1 Like

You can also add box-sizing: border-box which isn’t a bad idea anyway.

* {
  box-sizing: border-box;
}

As said, it is the padding-bottom on the #welcome-section so using padding: 0 200px; would work as well. Although if the 200px left/right padding is just to make the text wrap, you can always just use a <br> tag before the name.

https://developer.mozilla.org/en-US/docs/Learn/CSS/Building_blocks/The_box_model

1 Like

Hello
Thanks for replying!
I’ll try that and see how it goes

Thanks for replying!
That’s a good idea

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.