Skip to content

Commit

Permalink
Merge pull request #30 from simeneilevstjonn/develop
Browse files Browse the repository at this point in the history
Fix answer button moving out of field
  • Loading branch information
simeneilevstjonn authored Feb 16, 2021
2 parents af305d5 + c6fbbcd commit 3fa1abf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -286,12 +286,12 @@ <h5 id="attemptcounter">Attempt <span id="attempt"></span> of <span id="attempts
<label for="cityinput" id="cityinput-label">Type the answer.</label>
<div class="input-group">
<input class="form-control" type="text" placeholder="Your answer" id="cityinput" aria-labelledby="cityinput-label">
<div class="invalid-feedback">
Wrong answer. Please try again.
</div>
<div class="input-group-append">
<button class="btn btn-primary" onclick="ActiveQuiz.SubmitAnswer(document.getElementById('cityinput').value)">Answer</button>
</div>
<div class="invalid-feedback">
Wrong answer. Please try again.
</div>
</div>
</div>
</div>
Expand Down

0 comments on commit 3fa1abf

Please sign in to comment.