Skip to content

Commit

Permalink
add instruction text to axisexercise
Browse files Browse the repository at this point in the history
  • Loading branch information
rakilkim authored and jpaten committed Feb 7, 2024
1 parent 79437b1 commit d671fe2
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/components/shared/Exercises/AxisInputs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,9 @@ function AxisInput({
const questionOutput = questions.map(MakeQuestion);
return (
<div className="axinput-container">
<div id="axinput-question">
Type the correct numbers into the blanks below!
</div>
<div className="axinput-question-box">{questionOutput}</div>
<div className="axinput-wrong-box">
<h3 id="axinput-check-wrong">&nbsp;{wrongMessage(wrong)}&nbsp;</h3>
Expand Down
6 changes: 6 additions & 0 deletions src/styles/Exercises/AxisInput.scss
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,12 @@
padding-left: 20%;
}

#axinput-question {
@include font-styles();
margin-bottom: 2vh;
margin-left: 2vh;
}

#axinput-check-question {
@include font-styles();
font-style: italic;
Expand Down

0 comments on commit d671fe2

Please sign in to comment.