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.

🔥 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