Finished with Project 1 of 5 Responsive Web Design Projects

Finally! :tada: 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 :laughing:

If you wanna see my project , copy and paste this:


Great work :+1:

Few notes:

  • When the viewport height is small enough text covers the image

  • Image and caption are not aligned

  • I believe it makes sense to move CSS to the dedicated tab

1 Like

Oh thanks for the FeedBack! If I may ask, what code should I add and remove?

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.

  • Your img link is soooooo long lol. Maybe use this one instead

  • 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!

1 Like

@codecory Thanks! :+1:

1 Like

Page looks okay @Lewis2. Some things to revisit;

  • This line has two typo’s;
    <link rel="stylesheet" href="" rel="stylesheet">">
    • rel="stylesheet" is duplicated
    • there’s an extra double quote and > at the end of the line
  • As mentioned, you should get used to doing external styling

1 Like