filmov
tv
How to Code a Modal with Vanilla JavaScript

Показать описание
====================
I'm back with my next installment of the Let's Build: With JavaScript series. If you're new to the series, I'm building common components used on the web today with HTML, CSS, and Vanilla JavaScript.
This is both an exercise for myself and a "show and tell" of how you can accomplish things you might have onced used frameworks like jQuery for with vanilla JavaScript.
This build focuses on coding a accessible modal using styles from Tailwind and our own custom JavaScript. Key features of the modal are to open and close as well as close the modal by clicking outside the main dialog window container element.
====================
💻 Previously published at:
💻 Check out the blog:
🔭 Check out my app:
💡 👫 Check out my agency:
🦄 Check out my personal site:
🚀 Links:
📘Check out my book on UX Design:
"LUXD: Learn User Experience Design"
📙 Check out my FREE book on Tumblr Theming:
"Pro Tumblr Theming"
💯 Need awesome web hosting? Check out cloudways. They allow me to use a variety of hosting providers and build apps with ease:
🌊 Need more advanced hosting for Rails, PHP, Node, or other projects? Digital Ocean has you covered.
☕️ 🙏🏻 Patreon
☕️ Or buy me a coffee
Комментарии