I am new to LaTeX.
Using: \usepackage[title,toc,titletoc,page]{appendix}
My LaTeX:
\documentclass[a4paper,svgnames,11pt]{article}
\usepackage[title,toc,titletoc,page]{appendix}
\usepackage{listings}
\begin{document}
\tableofcontents
\addtocontents{toc}{\protect\thispagestyle{empty}}
\glsaddall
\newpage
\appendix
\renewcommand{\thesubsection}{\appendixname}{\Alph{subsection}}
\setcounter{section}{0}
\begin{appendices}
\subsection{Projects}
\subsection{Interview}
\subsection{Data}
\subsection{Samples}
\end{appendices}
\end{document}
Not sure how this can be resolved and fixed with formatting.
EDIT: Followed the following sample, https://gist.github.com/X4/7759575

\documentclass{...}and ending with\end{document}. This being said, what are you trying to do with\renewcommand{\thesubsection}{\appendixname}{\Alph{subsection}}?\renewcommandtakes only two arguments. – campa Nov 02 '21 at 12:11{}'s in that sample with the number you use. The sample you refer to is correct, yours is not. – daleif Nov 02 '21 at 12:54\renewcommand{\thesubsection}{\appendixname~\Alph{subsection}}– John Smith Nov 02 '21 at 12:56