\documentclass[11pt]{amsart}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern,metalogo,hologo}
\usepackage{amsmath}
\usepackage{tikz}

\usepackage{framed}

\usepackage{amsthm}

\theoremstyle{plain} %default
\newtheorem{theorem}{Theorem}[section]
\newtheorem*{theorem*}{Theorem}
\newtheorem{proposition}[theorem]{Proposition}
\newtheorem{lemma}[theorem]{Lemma}

\newif\ifX
\Xfalse
%\Xtrue
\newcommand{\jav}[1]{\ifX \begin{framed}#1 \end{framed}\fi}

\newcommand*\TikZ{Ti\textit kZ} %https://tex.stackexchange.com/questions/62190/how-to-typeset-tikz
\title{Informatics 1 -- 1st midterm}
\date{October 25, 2022}

\begin{document}
\maketitle
\textcolor{brown}{\raggedright You have $45$ minutes to finish your
  midterm. When done, send the  \texttt{.tex} file to \texttt{sa42bme@gmail.com}.}

\section{\LaTeX}
\begin{enumerate}
\item
  
\item 

\item 

\item
  
\item

\item

\end{enumerate}

\newpage

\section{\TikZ} \textcolor{brown}{You don't need to draw the gray stuff
  (grids and coordinates), they're there just so you know the
  dimensions of the pictures that you \emph{should} draw.}
\begin{enumerate}
\item 
  \begin{center}
    \begin{tikzpicture}
    \end{tikzpicture}
  \end{center}

\item
  \begin{center}
    \begin{tikzpicture}
    \end{tikzpicture}
  \end{center}

\end{enumerate}
\end{document}
  
