Skip to content

Commit

Permalink
improve layout
Browse files Browse the repository at this point in the history
  • Loading branch information
glendc committed Feb 8, 2024
1 parent 7ba1130 commit 5fecc75
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions site/1/mathbox.html
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ <h3 id="form-title"></h3>
exerciseFeedback += `
<p>
<span>${exercise.a} + ${exercise.b} = </span>
<span class="box bad">${exercise.answer}</span>
<span class="box bad split-part">${exercise.answer}</span>
</p>
`;
break;
Expand All @@ -332,7 +332,7 @@ <h3 id="form-title"></h3>
exerciseFeedback += `
<p>
<span>${exercise.a} - ${exercise.b} =</span>
<span class="box bad">${exercise.answer}</span>
<span class="box bad split-part">${exercise.answer}</span>
</p>
`;
break;
Expand All @@ -343,7 +343,7 @@ <h3 id="form-title"></h3>
<span class="box split-part">${exercise.answer}</span>
</p>
<p style="margin: -15px 0; padding: 0; font-size: 2em; font-style: bold;">
<span>&sol;&nbsp;&nbsp;&bsol;</span>
&sol;&nbsp;&nbsp;&bsol;
</p>
`;
if (Math.floor(Math.random() * 2) + 1 === 1) {
Expand Down Expand Up @@ -429,7 +429,7 @@ <h3 id="form-title"></h3>
<span class="box split-part">${window.mathBoxState.exercise.answer}</span>
</p>
<p style="margin: -15px 0; padding: 0; font-size: 2em; font-style: bold;">
<span>&sol;&nbsp;&nbsp;&bsol;</span>
&sol;&nbsp;&nbsp;&bsol;
</p>
`;
if (Math.floor(Math.random() * 2) + 1 === 1) {
Expand Down

0 comments on commit 5fecc75

Please sign in to comment.