Design comparison
Solution retrospective
Hi gorgeous friends , Diu Gach here, hope you are enjoying the coding process. just wanna let you see my third project with scss and BEM, this time I have seen some few improvements in handling the markup and alignments with flexbox, so it's exciting 😇, kindly have a look on my code (Html,sass and live site) and give me some feedbacks about:
1 - Code design 2 - BEM 3 - Html markup 4 - and about everything that you can advice me with, I will be happy to hear 🙉 your feedback folks, thanks.
Community feedback
- @tedikoPosted over 3 years ago
Hello, Diu Gach! 👋
Good job on this one! 🎉 Your solution responds well and overall looks good. Here's my suggestions:
- Add
:focus
pseudo class to interactive elements like anchors, buttons etc. Useoutline
property to make your website more accessible to keyboard users. Focusable elements like anchor, buttons or inputs they have applied default:focus
pseudo class withoutline
property. These default styles are subtle and hardly visible tho. Furthermore every browser has a slightly different default style for the outline, so you probably want to change the default style. Read more about why we should change focus styles. - Change the
alt
attributes for the.header__logo
,.intro__img
,.features__icon
, as they don't add any extra context for screen reader users. Since your images are decorative youralt
text should be provided empty (alt="") so that they can be ignored by assistive technologies. - Read about Sass 7-1 pattern to keep your file management orginazed.
Good luck with that, have fun coding! 💪
Marked as helpful1@DiuGachPosted over 3 years ago@tediko I appreciate your helpful feedback buddy, thanks so much, I will make sure to implement those great ideas you helped me with, and about the 7-1 rule, I didn't do it because I see the project is somehow not huge or is it a recommended practice to always use 7-1 pattern?, anyway you have helped me alot, happy coding too 😊.
0@tedikoPosted over 3 years ago@DiuGach No, it is totally fine to keep it simple with projects like this :)
0 - Add
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