Submitted over 1 year ago
FAQ Accordion Card π― [ USING DETAIL SUMMARY - VANILLA CSS3 - BEM ]
@0xabdulkhaliq
Design comparison
SolutionDesign
Solution retrospective
πΎ Hello, Frontend Mentor Community,
This is my solution for the FAQ Accordion Card Challenge .
- I learned how to use and style the
<details>
and<summary>
HTML elements. - Eventhough the
<details>
doesn't need JavaScript i used it to ensure that only one summary want to show up during others are closed. - If all summary are opened it's not looking nice, so only i provided that logic using js
- Scored 100% on Google Pagespeed Insights! π€©
- Layout was built responsive via mobile first workflow approach
- Had a lots of fun building this challenge !
Now for the questions :
- I have no idea about heading structures, if you have any idea regarding to improve my heading structure then please leave a feedback
- And the
<details>
element has support fortabfocus
, so when the user hits thetab
thenoutline
will arise if user hit enter then summary is opened. But how a visibility disabled person can use this ? i used screen readers but i'm not satisfied with that - Finally, Feel free to leave any feedback and help me to improve my solution (or) make the code clean!
.
π¨βπ¬ Follow me in my journey to finish all newbie challenges to explore solutions with custom features and tweaks
Ill be happy to hear any feedback and advice !
Community feedback
- @jvssvjPosted over 1 year ago
It turned out better than the original design, very good friend π€©
2@0xabdulkhaliqPosted over 1 year agoGlad to hear that my friend @jvssvj ! π
0 - @Alpha437Posted over 1 year ago
This is nothing short of perfection... Great job sireπ«
1@0xabdulkhaliqPosted over 1 year agoThanks for your appreciation @Alpha437 π
0
Please log in to post a comment
Log in with GitHubJoin 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