Skip to main content Accessibility Feedback

How I structure my vanilla JavaScript plugins [video]

Over the last couple of weeks, a few people have mentioned that they didn’t fully understand what’s going on in my JavaScript plugins.

I thought it might be helpful to walk through one of my plugins and walk you through how I set things up, and why. You can watch the video here.

This is definitely a little rough around the edges. If I did a bad job explaining anything, please let me know!

🔥 Hot off the press! I just launched a new pocket guide. Learn how to build interactive web apps with vanilla JavaScript.

Have any questions or comments about this post? Email me at or contact me on Twitter at @ChrisFerdinandi.

Get Daily Developer Tips