Design comparison
Solution retrospective
I do not think anything is wrong with the code, but any feedback is still appreciated!
Community feedback
- @MarlonPassos-gitPosted about 3 years ago
Congratulations for the solution in general I liked it, very similar to the original version and with very flexible elements.
Some suggestions:
-
the logo could have been placed inside a header tag
-
"What is it?" should be inside an <a> tag as it will take the user to another page
-
When I use TAB to navigate between items I don't see any changes in the buttons to know if they are selected or not, this is very bad for page accessibility
-
Images are too small, it would be better to break down to 2-column images a little earlier, see https://prnt.sc/1vpy822
-
You styled your elements using the HTML tag as a reference, this is very bad to maintain in the future and can cause a lot of problems later, I recommend always using classes to style your elements
Marked as helpful0@PresidentTreePosted about 3 years ago@MarlonPassos-git The reason the buttons don't show that they are selected is because I turned off the
outline
property since it looked weird to me to have a square outline around rounded buttons. Do you know if there is a way around this?1@MarlonPassos-gitPosted about 3 years agoYou can customize the outline when it's in action and it will be leased according to your element's boundary radius, look how it looks with this code:
` button: focus-visible { outline: 5px solid red }
`Access the link: https://prnt.sc/1vq5jvl
There are several ways you can customize, read this article https://css-tricks.com/almanac/properties/o/outline-style/
0 -
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