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

@Eya-ben-aziza

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?

proud that:

  • I made it almost identical to the design given -I used flex and grid to place my elements what I would dodifferently next time: -I would opt for the more adequate property that matches the layout requirements, Since this time I used grid even though flex is more approriate just to try the grid property.

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

The challenge was quite simple and enjoyable. The main challenge was placing the elements correctly but using flex made everything easier and smoother.

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

Actually I am wondering about this part : See hover and focus states for all interactive elements on the page. which elements should be with hover and focus states? I think I missed that part

Community feedback

Mahmood 1,390

@MahmoodHashem

Posted

Hello there 👋

Your project fantastic

What is the difference between the hover and focus and when to use them:

  • :hover is used to change the appearance of buttons, links, or any interactive element to indicate that they are clickable or interactive and

  • :focus is used to style form inputs, links, or buttons to indicate that they are currently active or ready for user input.

  • :hover is triggered by a pointing device hovering over an element.

  • :focus is triggered when an element receives focus, typically through keyboard navigation or clicking.

  • :hover is primarily used for visual feedback on interactive elements like buttons and links.

  • :focus is crucial for accessibility, helping users navigate forms and interactive elements using the keyboard.

Device Compatibility:

  • :hover is not applicable on touch devices unless the user taps the element, which may not always be intuitive.

  • :focus is essential for keyboard navigation and is widely supported across devices.

Marked as helpful

0

@Eya-ben-aziza

Posted

@MahmoodHashem Thanks a lot for the explanation. that was clear and helpful

0

@YacoubDweik

Posted

Well done Aya!

Just do not use fixed width never ever! use Max-Width instead of Width.

Marked as helpful

0

@Eya-ben-aziza

Posted

@YacoubDweik Thanks for the valuable advice, that was important to know

1

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