Design comparison
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
- @techyjcPosted 11 months ago
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 helpful0 - @RyanAbdaulPosted 11 months ago
I like your design and the way you created it, keep going man, you're doing great.
Marked as helpful0 - @danielmrz-devPosted 11 months ago
Boaaa Marcus!
Deu certinho dessa vez 😁
Marked as helpful0
Please log in to post a comment
Log in with GitHubJoin 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