Finally! I am finished with one of the five projects for the Responsive Web Design Projects Challenge! It took me two hours to code out the whole website and I am finally done. I feel so happy and excited to continue to the next challenge and the next challenge and the next
Hey there, so here are some things that might help.
CodePen automatically adds the <!DOCTYPE html> and <html> tags so you don’t need them.
The <head> tag is added automatically as well and can be viewed if you click the settings icon in the top left of the HTML section. You can add the font import there.
I agree with @lancelote that you should move your CSS down to the CSS section. It is much nicer being able to look at your HTML and CSS at the same time.
For your fig-caption, I don’t think you need the p tag in there, pretty sure you can just have the text between the fig-caption tags.
To center the image and text you could just add text-align: center to your img-div
Your Header has the vh height unit, but that is a percentage of the screen so it allows it to shrink beyond the content. Just remove the height or set it to a static px amount.
The Footer is not centered cause the margins are 10px and 28px for right and left respectively. Not sure why, just give the footer a width and set it to auto margin, or set to block display with equal margins so it is centered.
That’s pretty much all I can see from a quick run-through. Keep it up!