Text this: Foundation of electromagnetic theory