Struggling with User Story 10 on Portfolio Page ie 100 vh

User Story #10: The height of the welcome section should be equal to the height of the viewport.


I’ve been working on my challenges and I can’t quite figure out this viewport height. The code seems right but the webpage is not. It also doesn’t pass the test. I’ve perused other threads and tried some solutions but nothing has worked thus far. I think it’s because of my images? but that also doesn’t really make sense. I’d appreciate any help/advice.

Here’s my codepen:

Thank you!

#welcome-section: {
  outline: 2px solid;  //outline for testing
  height: 100vh;
  margin-top: 0;
  padding-top: 0;

this is your code for the id welcome-section →

after removing " : " in front of id selector it should work fine.

1 Like

Wow I knew it was something silly like that. Bless fresh eyes. Thank you so much!

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