<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">\documentclass[onepage]{webquiz}
\title{An answer with comparison=number}
\begin{document}
  \begin{question}     % a quiz question
      What is $\frac12+\frac14$?
     \answer[number]{3/4} (Correct answer $3/4$)
     \whenRight Correct!
     \whenWrong Incorrect! Is your ruler working?
  \end{question}
  \begin{question}     % a quiz question
      What is $\frac12+\frac14$?
     \answer[number]{3/4} (Correct answer $3/4$)
     \whenRight Correct!
     \whenWrong Incorrect! Is your ruler working?
  \end{question}
\end{document}
</pre></body></html>