This work illustrates two basic principles in the calculus of variations - the questions of existence of solutions and, closely related, the problem of regularity of minimizers. It concentrates on techniques, and presents methods useful for applications in regularity theorems.