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

3 colum preview card component

#accessibility
kubas33 180

@kubas33

Desktop design screenshot for the 3-column preview card component coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


Another challenge done.

I am not sure if is it good practice to set min-height: 40% to description container to keep distance between button and text od wider screens.

Feedback and tips are welcomed :D

Community feedback

_nehal💎 6,710

@NehalSahu8055

Posted

Hello Coder 👋.

Congratulations on successfully completing the challenge! 🎉

Few suggestions regarding design.

  • You forget to add cursor: pointer; on buttons. It will be more user-friendly to add it.

  • Follow semantics rule place footer outside and below the main tag

  • For image like .svg are decorative which browser will not render it to be important and skip it, so it make no sense to add alt leave it blank.

<img src="image.svg" alt="">

  • Try to add accessibility features like aria, sr-only, title.

aria : link

.sr-only:link

I hope you find this helpful.

Happy coding😄

Marked as helpful

0

kubas33 180

@kubas33

Posted

@NehalSahu8055

Thanks for your tips! Yeah I forgot about pointer cursor :|

1
kubas33 180

@kubas33

Posted

@NehalSahu8055

I improved code according to your tips. Added pointer cursor, removed alt from images, moved footer outside main and added <h1> element with sr-only class.

Fell free to check it out now :)

1
_nehal💎 6,710

@NehalSahu8055

Posted

@kubas33

Great!

  • Just one more thing for good practice:
  • Use responsive units(rem, em, %) from next project. Explore respective use cases on google. link
0

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