This book is based on lecture notes taught in classes on electricity and magnetism and electromagnetic fields. It is designed as a text-book for a two-semester course for students of physics. It presents 300 detailed problem-like examples at various levels of difficulty whose solutions illustrate various techniques and touch on every aspect of the material.