Text this: Principles of electromagnetic waves and materials