Skip to content

Commit

Permalink
Update zetamac.ejs
Browse files Browse the repository at this point in the history
  • Loading branch information
dannyridel committed Jul 4, 2024
1 parent a4b3ccb commit 3944949
Showing 1 changed file with 7 additions and 8 deletions.
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") -%>

0 comments on commit 3944949

Please sign in to comment.