How do you delete apps from your iPod Touch?

You press on one of the apps until it is shaking and has an x. Then you click on the x on the app that you want to delete. If it asks you if you want to delete that app, then say ok.