Skip to content
Submitted about 5 years ago

FAQ accordion card using Sass

LVL 2
Nafsuki245
@Nafsuki
A solution to the FAQ accordion card challenge

Solution retrospective


I coded desktop first, using Sass. My first JS project on Frontend Mentor :)) It was challenging for me to put svg in a pseudo element, but I'm happy & relieved to be able to figure out how it works finally.

I wondered if I should fix the width of the container, either with vw or rem to make it responsible for all the devices and locate svg always at the same location however the container width changes. I used rem this time, but I'm not sure if it was the right practice.

Any feedback and suggestion for improvement would be very much appreciated :)!!

Code
Loading...

Please log in to post a comment

Log in

Community feedback

No feedback yet. Be the first to give feedback on Nafsuki’s solution.

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