The Code Zone Skool
Log In
Community
Classroom
Calendar
Members
Map
Leaderboards
About
Log In
7
Rob Vanarsdall
🔥
2d •
📚 Resources
It's all in the <detail> & <summary>
Accordions and “read more” toggles with built-in keyboard support and zero JS.
Add the open attribute to expand by default. Give several the same name, and they behave as an exclusive accordion.
Test out the accordion with CodePen:
https://codepen.io/precodecamp/pen/YPNNGKX
Like
5
0 comments
7
It's all in the <detail> & <summary>
The Code Zone Skool
skool.com/the-code-zone
Beginner-friendly community to learn Python, HTML, CSS, & JavaScript. We help you become a full-stack developer and offer 1:1 code coaching.
💥 UPGRADE MEMBERSHIP
❤️ 1:1 Coaching for $1
📚 24/7 Tutor Room
513
Members
8
Online
1
Admin
JOIN GROUP
Leaderboard (30-day)
1
Ayaan Rasool
+38
2
Rachael Surber
+33
3
Rick Osteen
+20
4
Christopher Dameron
+10
5
Filiberto Alvidrez
+9
See all leaderboards
Powered by