\documentclass[11pt]{article}
\usepackage[margin=1in]{geometry}
\setlength{\parindent}{0pt}
\setlength{\parskip}{1ex}
\pagestyle{empty}

% code blocks
\usepackage{fancyvrb,xcolor}
\DefineVerbatimEnvironment{code}{Verbatim}{
    frame=single,rulecolor=\color{lightgray},xleftmargin=0em,xrightmargin=0em,
    listparameters=\setlength{\topsep}{1ex}\setlength{\partopsep}{0ex}}

% hyperlinks
\usepackage{hyperref}
\urlstyle{same}
\hypersetup{
  colorlinks=true,
  urlcolor=blue
}

%------------------------------------------------------------------------------%
\begin{document}

\large
CS 374, HW7 \hfill Due: 04/17/2022
\begin{center}
\textbf{Type Your Name Here}
\end{center}
\hrule
\normalsize

%------------------------------------------------------------------------------%
\newpage
\section*{Part 1: MongoDB}

Type your summary here.

\subsection*{Example Queries}

Explain your query here.

\begin{code}
Example code block
\end{code}

Explain your query here.

\begin{code}
Example code block
\end{code}

%------------------------------------------------------------------------------%
\newpage
\section*{Part 2: Neo4j}

Type your summary here.

\subsection*{Example Queries}

Explain your query here.

\begin{code}
Example code block
\end{code}

Explain your query here.

\begin{code}
Example code block
\end{code}

%------------------------------------------------------------------------------%
\end{document}
