Design comparison
Solution retrospective
Hello every one, here is my solution to the accordion card challenge, feel free to look at it, and please share your thoughts about it, I look forward to suggestions to improve my code...
Community feedback
- @BikeInManPosted over 2 years ago
Very nicely done. Works well in both sizes. I could not complete this challenge nearly as good as yours.
I am just curious about one thing. Why did you choose
span
for the question. andp
for the answer. Why not divs for both orp
for both ? Span seems like an inline element according to MDN.0@sharipoff-0-1Posted over 2 years ago@BikeInMan Thank you. There wasn't any specific reason, I just like experimenting with HTML properties how they will work, it gives a sort of different ideas with working on CSS design.
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