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 Card

Anderson 40

@anderson-ssilva

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


Hey guys! That's my solution. Unfortunately I couldn't put the down arrow on the FAQ's question. If anyone can help me I appreciate it.

Community feedback

@faisalahmed11

Posted

Hi there @anderson-ssilva. I greatly appreciate your efforts.

you can try this, it might solve your down arrow icon issue.

.container__FaqItem__label::before{
content=""; 
height: 1rem;
aspect-ratio: 1;
background: url("../images/icon-arrow-down.svg") no-repeat;
}

.container__FaqItem.ativo .container__FaqItem__label::before {
//content="-"
transform:rotate(180deg)

}

Marked as helpful

0

Anderson 40

@anderson-ssilva

Posted

@faisalahmed11 , thanks for the help. Still, I couldn't solve the icon problem. I need to study some more!!!

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