can you help me figure out why my portfolio page doesn’t let me pass
" 3. The navbar should always be at the top of the viewport.
Navbar’s parent should be body and it should be at the top of the viewport : expected 33.1944465637207 to be close to 0 +/- 15 AssertionError: Navbar’s parent should be body and it should be at the top of the viewport : expected 33.1944465637207 to be close to 0 +/- 15"
You gave nav a position: fixed, but you didn’t specify any top, left, right or bottom, so the nav doesn’t know where to go. (hint: you don’t need to specify all of them, 2-3 are enough).
Also, fix this justify-content: flex;
Another thing, don’t use <html>, <head> and tags that go inside <head> on codepen. All your code goes inside the <body> by default.
Also, using grid or flexbox on <section id="projects> would make your life way easier than using position: absolute on your images.
Never do this padding-left: 700px;. There are better ways to position child elements inside parent elements. Flexbox is one of them. It also makes your elements more responsive, so you hit two targets with one stone.
It looks like you’ve incorporated the suggestions and all of your tests are passing. Very nice work!
For what it’s worth, I noticed you set the top and left properties to 1px. Often people will set top, left, and right to 0 to get something to hug the edges of the window. Of course, that might not be what you wanted here, but thought it might be useful.