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

@marcusAzevedo93

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


HTML:

The HTML basically consists of a structure that includes metadata and a body with a div of class. Inside the head element, there is also the use of metatags for character and viewport configuration. There are also links to pre-connect to Google Fonts, a link to the favicon icon, and another link to the CSS style file. The page title is defined as and there is a custom grid attribute.

elements i Use

  • google fonts
  • grid
  • links
  • character and viewport configuration

CSS:

I used pseudo-selectors to select HTML elements based on their state or position relative to other elements. An example is the :hover pseudo-selector, which selects an element when the mouse is over it. In your CSS code, the :hover pseudo-selector is also used to style the link within the card header when the mouse is over it, including the yellow color.

I also used pseudo-elements to add fictitious HTML elements to the document. They are used to add content to an element without requiring an additional element in the HTML. In the CSS code, the ::before pseudo-element is used to style the fictitious element that appears before the card.

I hope this helps! Let me know if you have any more questions. 😊

Community feedback

@techyjc

Posted

Great job!

Small suggestion maybe use the css property line-height:1.5 to space the copy text.

Or a variant of the value.

John Carruthers

Marked as helpful

0

@RyanAbdaul

Posted

I like your design and the way you created it, keep going man, you're doing great.

Marked as helpful

0
Daniel 🛸 44,230

@danielmrz-dev

Posted

Boaaa Marcus!

Deu certinho dessa vez 😁

Marked as helpful

0

@marcusAzevedo93

Posted

@danielmrz-dev graças a Deus haha

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