\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}
