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

Bookmark landing page using grid and flex css

@fadzrinmadu

Desktop design screenshot for the Bookmark landing page coding challenge

This is a solution for...

  • HTML
  • CSS
  • JS
3intermediate
View challenge

Design comparison


SolutionDesign

Solution retrospective


please review my code, i'm trying make my code more modular maybe this looks messy. if there are suggestions, I accept it gladly. thanks in advance :)

Community feedback

P
Matt Studdert 13,611

@mattstuddert

Posted

Hey Muhammad, nice work on this challenge. Your code doesn't look messy at all. It looks like you've got a good code architecture and a system for doing things, which is great. The main piece of feedback I'd have is to avoid setting click listeners on non-interactive elements. For example, you've got click listeners on the li elements for the tabs. The li element isn't interactive by default, so it can't be focused for selection by people who cannot use a mouse/trackpad to click. This makes it inaccessible, which isn't good. Instead, you could use a button or a element and set a click listener on that. This means people using mouse/trackpad or keyboard and other assistive technologies can select the element to change the content.

I hope this helps. Your solution looks really good. Keep it up!

1

@fadzrinmadu

Posted

@mattstuddert i will remember it well thank you very much for the comment, this is very helpful. I will try to learn more about it

0
P
Matt Studdert 13,611

@mattstuddert

Posted

@fadzrinmadu you’re welcome! Smashing Magazine articles often talk a lot about accessibility, so I’d recommend looking out for them.

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