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

Frontend Mentor - FAQ accordion card

sil3ntr 40

@sil3ntr

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


I struggled with the CSS, namely with the positioning of the illustrations and making them overlap the card element.

Advice on how to make only the box illustration overlap rather than the box and women illustration would be really helpful.

Community feedback

Sir Floppa 150

@Sir-Floppa

Posted

Hi:) My recomendation is to put the woman pic as background-image instead of as img component in the HTML, then you can place the box image as img as you did, that's how I made it at least, and I think it ended up looking pretty nice. Other than that, I'd change those div.container you've got for some more semantic elements, like article, and section for the bigger space, for example. Anyway, your solution looks quite nice:) Greets!

Marked as helpful

0

sil3ntr 40

@sil3ntr

Posted

@Sir-Floppa, thanks for your feedback. I will try the approach using the woman illustration as a background and the suggested semantic elements. Cheers.

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