Skip to main content Accessibility Feedback

Tutorial: A simple show-and-hide script with vanilla JS

I recently recorded a few screencasts to go along with the projects in my new book, Ditching jQuery.

The first one is on how to build a simple show-and-hide script with vanilla JavaScript. If you like this, the rest of the screencasts are only available with the book. Check it out.

🚀 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