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

FAQ Accordion project with JQuery

@vernonroque

Desktop design screenshot for the FAQ accordion coding challenge

This is a solution for...

  • HTML
  • CSS
  • JS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


Here is my solution. The one thing that I couldn't figure out is how to change the pointing finger color to black whenever it hovered over the question. Does anyone know how to do that?

If you look at the active-states.jpg in the designs folder of your project, you'll see the pointing finger is colored black when it hovers over the question.

Community feedback

P

@tatasadi

Posted

Hey,

Great job on tackling the challenge! I noticed your question about changing the cursor color, and I believe it's not crucial as long as it's set to a pointer, which is sufficient for user interaction.

I also have a quick styling tip for you. I noticed that the last question currently has a border bottom, which might not be the desired effect. If you wish to exclude the last question from having a border bottom, you can modify your CSS like this:

.question:not(:last-child) {
    border-bottom: 2px solid #D3D3D3;
}

This adjustment ensures that all questions, except the last one, have a subtle bottom border. I hope this aligns better with your design expectations.

Keep up the impressive work, and feel free to reach out if you have any more questions!

Marked as helpful

0

@vernonroque

Posted

@tatasadi Thanks for the tip! I didn't know about that. I'll go ahead and make the change. All the best!

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