Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update zetamac.ejs #560

Merged
merged 1 commit into from
Jul 4, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 7 additions & 8 deletions views/public/zetamac.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,17 @@
<h1 class="my-5 container display-2 text-center">Zetamac on Mutorials</h1>

<div class="jumbotron container">
<h2>Arithmetic Game</h2>
<h2>Zetamac</h2>
<div id="init">
<p>The Arithmetic Game is a fast-paced speed drill where you are given two minutes to
solve as many
arithmetic problems as you can.</p>
<p><a href='https://arithmetic.zetamac.com/'>Zetamac</a> is a fast-paced math speed drill where you are given two minutes to
solve as many arithmetic problems as you can.</p>
<div id="initConfig">
<% const CONFIG={ Addition: { symbol: "+" , range: [2, 100] }, Subtraction: {
symbol: "-" , range: [2, 100], additionalOptions: [{ name: "allow negative" ,
id: "allowNegative" , checked: false, }, { name: "same as Addition" ,
symbol: "-" , range: [2, 100], additionalOptions: [{ name: "Allow negative answers" ,
id: "allowNegative" , checked: false, }, { name: "Same range as addition" ,
id: "sameAsAddition" , checked: true, }] }, Multiplication: { symbol: "×" ,
range: [2, 100] }, Division: { symbol: "÷" , range: [2, 100], additionalOptions:
[{ name: "same as Multiplication" , id: "sameAsMultiplication" , checked: true,
[{ name: "Same range as multiplication" , id: "sameAsMultiplication" , checked: true,
}] } }; %>
<% ["Addition", "Subtraction" , "Multiplication" , "Division" ].forEach((op)=> {
%>
Expand Down Expand Up @@ -261,4 +260,4 @@
}
</style>

<%- include("../partials/footer") -%>
<%- include("../partials/footer") -%>
Loading