I have gone through all the questions and none seem to work or are the same as mine.
I am using LaTeX for my math degree assignments.
My code is this
\documentclass[fleqn]{article}
\title{\Large{\textbf{Course ID - Module Name}}}
\subtitle{Module Number}
\author{Name - {\text{ID}}}
\date{}
Anyone with any ideas. I keep getting undefined control sequence

articledoesn't have a\subtitlecommand just useCourse ID - Module Name}\\Module number– David Carlisle Mar 20 '19 at 19:41\Largeis a switch, it does not take any arguments. – daleif Mar 20 '19 at 19:42scrartclclass which is part of the KOMA script instead ofarticleclass – Stormvirux Mar 20 '19 at 19:58\author{Name - {\text{ID}}}(especially teh\text{}) supposed to do? – leandriis Mar 20 '19 at 20:10