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!

🚀 Make 2018 the year you master JavaScript! My pocket guides and mini courses are short, focused, and made for beginners. You can do this!

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

Get Daily Developer Tips