Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

Blog Preview Card

@EddieBones1

Desktop design screenshot for the Blog preview card coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


What are you most proud of, and what would you do differently next time?

One thing that I most proud of when working on this challenge, was the introduction of the global variable function. This function allowed me to code faster in my stylesheet because I was able to refer to the variables that I set for certain properties such as font-size, line-height, and many more.

What challenges did you encounter, and how did you overcome them?

One challenge that I encounter was trying to center the attribution under the card in the mobile version. I overcame this by using the inspect tool in my browser to center the attribution, and once I got it center, I was able to input those properties into my stylesheet.

What specific areas of your project would you like help with?

One specific area of the project that I would like help with is a faster way to center and lower the attribution under the card, so that I don't have to mess with the properties too much in inspect tool.

Community feedback

@Omarhdez-218

Posted

Great solution.

I noticed the shadow is visible on the top & left side. You can fix this in css by changing the box shadow, i used "box-shadow: 10px 10px 0px 1px black"

1
P

@Erika-codes

Posted

Overall, this looks pretty good! The font doesn't display correctly on your live site, so you might want to check that. I think you had problems formatting your attribution because you put the author inside the footer. Only the attribution should be inside the footer.

Also, the box shadow on your card doesn't display correctly in the preview above. Here is how I did mine:

box-shadow: 7px 7px hsl(0, 0%, 7%);

border: 1px solid hsl(0, 0%, 7%);

Hope this helps!

0

Please log in to post a comment

Log in with GitHub
Discord logo

Join our Discord community

Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!

Join our Discord