Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Your session has expired please log in again.
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

FAQ accordion card main

@bircaandreeadev

Desktop design screenshot for the FAQ accordion card coding challenge

This is a solution for...

  • HTML
  • CSS
  • JS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


If you'd like to give me any suggestions on how to improve my frontend knowledge, I would appreciate it!

Community feedback

Adarsh Pratap 5,515

@adarshcodes

Posted

Hi @bircaandreeadev, first of all, welcome to this amazing community. You did good work on this solution. A small issue I notice on this is that while opening one the other opened should automatically close. How to do it nicely learn it from here. I hope it would be helpful to you.

2

@bircaandreeadev

Posted

@adarshcodes Thank you for your feedback and also, for the video you shared. It's on my bookmarks now :) I fixed my code and it looks better!

0
Adarsh Pratap 5,515

@adarshcodes

Posted

@bircaandreeadev Good job👍. It's working fine now.

0

@RenszCamacho

Posted

Hi, bircaandreeadev. This challenge is a little bit tricky, or at least was for me.

Just some issues.

When I open all the tabs of the accordion. the text overflows, and the images are stretched. Try to fix that.

That is how I did it.

I would give your 'ul' a fixed height, and overflow:auto, in this way the content does not overflow. But you will get an ugly scroll.

ul { padding: 0; position: relative; overflow: auto; height: 300px; }

This is to hide the scrollbar.

ul::-webkit-scrollbar { display: none; }

Hopefully, it helps.

Happy coding🧑‍💻

2

@bircaandreeadev

Posted

@RenszCamacho Thank you for your feedback! I followed your advices and I did what you said and definitely it looks better!

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