Design comparison
Solution retrospective
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.
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
- @MahmoodHashemPosted about 1 month ago
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 helpful0@Eya-ben-azizaPosted 29 days ago@MahmoodHashem Thanks a lot for the explanation. that was clear and helpful
0 -
- @YacoubDweikPosted about 1 month ago
Well done Aya!
Just do not use fixed width never ever! use Max-Width instead of Width.
Marked as helpful0@Eya-ben-azizaPosted about 1 month ago@YacoubDweik Thanks for the valuable advice, that was important to know
1
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