I am trying to write a CV. I have no previous experience of using latex.
This is my .cls file that I have written:
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{Arpon_cv}[2018/09/28 Arpon's custom CV class]
\LoadClass{article}
\RequirePackage{titlesec}
\newcommand{\datedsection}[2]{%
\section[#1]{#1 \hfill #2}%
}
\titleformat{\section}
{\Large\scshape\raggedright\ttfamily}
{}{0em}
{}
[\titlerule]
\newcommand{\datedsubsection}[2]{%
\subsection[#1]{#1 \hfill #2}%
}
\titleformat{\subsection}
{\large\scshape\raggedright\ttfamily}
{}{0em}
{}
\newcommand{\vugichugi}[2]{%
\subsubsection[#1]{#1 \hfill #2}%
}
\titleformat{\subsubsection}
{\normalsize\scshape\raggedright\ttfamily}
{}{0em}
{}
This is my .tex file:
\documentclass{Arpon_cv}
\begin{document}
\datedsection{Education}{}
\datedsubsection{Bachelor of Science}{2015-Now}
\vugichugi{University of Dhaka, Dhaka, Bangladesh}{}
\vugichugi{Current CGPA (Up to 6th Semester): 3.72}{}
\datedsubsection{Higher Secondary Certificate}{2014}
\vugichugi{St. Joseph Higher Secondary School, Dhaka, Bangladesh}{}
\vugichugi{GPA: 5.00 out of 5.00}{}
\datedsubsection{Secondary School Certificate}{2012}
\vugichugi{St. Joseph Higher Secondary School, Dhaka, Bangladesh}{}
\vugichugi{GPA: 5.00 out of 5.00}{}
\datedsection{Standardized Tests}{}
\datedsubsection{Graduate Record Examination (GRE)}{2018}
\vugichugi{Total- 329. Quantitative Reasoning: 170, Verbal Reasoning: 159 Analytical Writing Analysis: 5.0}{}
\datedsubsection{Test Of English as a Foreign Language (TOEFL)}{2018}
\vugichugi{Total: 111. Reading: 29, Listening: 29, Speaking: 27, Writing: 26}{}
\datedsection{Research Interests}{}
\datedsection{Research Experience}{}
\datedsubsection{Undergraduate Thesis}{Sept 2018-Now}
\vugichugi{Title: Computer code development for steady-state neutronics analysis of a novel reactor core.}{}
\vugichugi{Description: I am currently working on developing a computer code to numerically approximate the steady-state neutronics of a novel reactor core.}{}
\datedsubsection{Undergraduate Project}{Sept 2017-March 2018}
\vugichugi{Title: Demonstration of axial neutron flux distribution in a hypothetical reactor core employing control pellets (control material in pellet form).}{}
\vugichugi{Description: I demonstrated an evenly balanced axial flux distribution that can be generated if hypothetical control pellets (control material in pellet form) are used instead of regular single-piece control rods. Regular control rods generate uneven axial flux distribution when partially inserted.}{}
\datedsection{Industrial Attachment}{}
\datedsubsection{Institute of Electronics}{March 2018-April 2018}
\vugichugi{Atomic Energy Research Establishment (AERE), Savar, Dhaka, Bangladesh.}{}
\vugichugi{A facility of Bangladesh Atomic Energy Commission (BAEC)}{}
\datedsection{Prizes, Awards and Grants}{}
\datedsubsection{}{}
\datedsection{Work Experience}{}
\datedsubsection{Administrative Experience}{??}
\datedsubsection{Teaching Experience}{??}
\datedsection{Volunteer Work}{}
\datedsection{Computer and Programming Skills}{}
\end{document}
When I compile the .tex file, the first page of the output pdf comes out blank.
The Header "Education" starts from the second page. And nothing below the "Industrial Attachment" section is printed. All the sections after that is just lost.
What am I doing wrong here?

