Stop using JS for managing modals!
From Academind · · 9 min

The player loads from YouTube only when you click. It uses YouTube's privacy-enhanced mode.
If the video does not play, the owner may have turned off embedding. Watch it on YouTube instead.
Description
The Popover API exists. It's stable, it's ready to use. And it has great support across all major browsers. So stop building your own broken, inaccessible modals with custom JS!
Build infographics like the ones used in this video via https://buildmygraphic.com/
🖥️ Official Website & Courses https://academind.com/courses/
💬 Academind Community https://academind.com/community
👋 Social Media https://twitter.com/maxedapps https://twitter.com/academind_real https://www.instagram.com/academind_real/ https://www.facebook.com/academindchannel/ https://www.linkedin.com/in/maximilian-schwarzmueller/ https://www.linkedin.com/in/manuel-lorenz-808b5185/ https://www.linkedin.com/company/academind-gmbh https://www.linkedin.com/school/academind-pro https://www.tiktok.com/@academind_real