Bookmark Landing Page using Sass with lots of Flexbox, Grid.
Design comparison
Solution retrospective
I still don't know the best practices and right stuff I just made it with what knowledge I learned online and thats why my code can be mess although I tried to clean it a bit so any tips regarding writing clean code and best practices?
I'd love to receive your feedback and suggestions which are always welcomed 😊.
Community feedback
- @mattstuddertPosted about 5 years ago
Great work on completing this challenge Fab! It's a tricky layout and you've done an awesome job 👏👏👏
Here are a few pointers after taking a look at your code:
- In some instances, you're uppercasing text in your HTML, such as the nav items. I'd recommend against this, as screen readers will read these out letter-by-letter. Instead, I'd recommend writing them out lowercase, but then using
text-transform: uppercase;
to visually uppercase the text. - Nice work with the background patters as well. One way to clean up your HTML slightly here would be to use CSS pseudo-elements, like
::before
instead of adding an empty HTML element. - You've currently got the
. features__type
class as anli
element, but it doesn't have aul
as a parent, which is invalid HTML. I would recommend each of those items being a list item and then using an interactive element, like abutton
to set up the listener events to toggle the tabs.
I hope these pointers help. Let me know if you have any questions! 🙂
0@fabcodingzestPosted about 5 years agoThank you for the feedback Matt it really helps, I'd surely fix those things soon.🙂
0 - In some instances, you're uppercasing text in your HTML, such as the nav items. I'd recommend against this, as screen readers will read these out letter-by-letter. Instead, I'd recommend writing them out lowercase, but then using
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