@ApplePieGiraffe
Posted
Hello there, Lesley Wesley! 👋
Nice work on this challenge! 🙌 Your solution looks good and works great and kudos for trying out something new with JS! 😀
I don't really have anything to suggest but I thought I'd let you know that you can use the native HTML <details>
and <summary>
elements to easily create a fairly accessible accordion without having to use any JS. If you’d like to learn more about those elements and how you can use them, check out this helpful article from MDN. Maybe something to try out in a future project! 😉
Keep coding (and happy coding, too)! 😁
Marked as helpful
@LesleyWesley
Posted
@ApplePieGiraffe I hadn't even heard of details and summary tags, so thanks for the heads up! I bookmarked the article for future reference :)