Skip to content

macloo/vanilla-js-events

Repository files navigation

Vanilla JavaScript Events

A small repo for students.

  • dom_example.html — Content blocks that open and close (show and hide) when something is clicked.

  • dom_example_v2.html — (version 2) Uses a pure JS script that matches jQuery slideUp, slideDown, slideToggle.

  • overlay.html — Content that appears on top of other content; overlays are also called modals.