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

Interactive comments section with React/MUI

@Abdelghafour122

Desktop design screenshot for the Interactive comments section coding challenge

This is a solution for...

  • HTML
  • CSS
  • JS
3intermediate
View challenge

Design comparison


SolutionDesign

Solution retrospective


This was difficult, it took me a while to reach this point but i haven't finished it yet.

I will however try improving the code that looks very messy at the moment, maybe add more features and make it more interactive.

This is also not fully responsive, so there is alot to be done.

Also if you have any MUI, or React best practices that can improve my code, please let me know.

Can't wait for your feedback! 🤗

Community feedback

Travolgi 🍕 31,420

@denielden

Posted

Hey Abdelghafour, congratulations on completing the challenge! You did a great job 😉

Let me give you some little tips for optimizing your code:

  • img element must have an alt attribute, it's very important!
  • remove all unnecessary code, the less you write the better as well as being clearer: for example the div container of image of author
  • instead of using px use relative units of measurement like rem -> read here
  • if I click on the upvote button I can increase it to infinity and not just by 1 point. add a control

Hope this help! Happy coding 😁

1

@Abdelghafour122

Posted

@denielden Thanks for the tips !

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