Personal Portfolio Webpage: Viewport height error

I keep getting the error that the height of the welcome section is not equal to the height of the viewport. I have already tried the following:

  1. Put the height of the welcome section as 100vh
  2. Added the meta tag for viewport in the gear option for HTML
  3. Put the value of all margins, paddings, and borders as 0
  4. Viewed the webpage I built, on Inspect. It did not show any paddings, borders, or margins either.

Error shown:
“The height of #welcome-section is not equal to the height of the viewport : expected 32 to be close to 626 +/- 1
AssertionError: The height of #welcome-section is not equal to the height of the viewport : expected 32 to be close to 626 +/- 1”

My code so far:

Challenge: Build a Personal Portfolio Webpage

Hi @ragininarang !

Welcome to the forum!

The problem is here

.welcome-section 

There is no class by that name.

Thank you for pointing that out!

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