Progressive enhancements

Lets you add functionality that will work even if the user does not have Javascript, or if something goes wrong

Let's take a simple example below. At first, the show/hide is reloading the page. But let's add some jQuery to make it smoother, and avoid page reloads.

Show menu

Run

Clear

  • Bind Toggle