A Few jQuery Tricks

I'm learning jQuery, so I'm testing out some things here.

Hide and show like magic

Want to hide this paragraph? Does it hurt your eyes? Use the buttons to do your thing:

Easy, right? Okay, easy for you. You just had to click stuff. I had to write things.

Slide with me!

To the end user, it looks animated. It's actually super simple and only takes a few lines of code.

Now, let's try a little electric sliiiide.

jQuery makes AJAX easier

The magic of JavaScript is the ability to change elements on a page without reloading like it's 1996. jQuery just makes it easier to write with less code. Let's try it by improving some boring text.

Hey look, some text in a paragraph. Yawn.