Skip to content

Commit

Permalink
Merge pull request #22 from Mubashir-Md/main
Browse files Browse the repository at this point in the history
update again
  • Loading branch information
Mubashir-Md authored Jan 26, 2024
2 parents c7a871b + 7aa2f77 commit 2c7628f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions public/answers.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="../public/css/answers.css" />
<script src="../public/js/answers.js" defer></script>
<link rel="stylesheet" href="css/answers.css" />
<script src="js/answers.js" defer></script>
<title>TSIG recruiting</title>
</head>

Expand Down
4 changes: 2 additions & 2 deletions public/js/answers.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ let answers = {
function checkAnswer(qno) {
let val = document.getElementById(`answerInput${qno}`).value;
let greenTick = document.createElement("img");
greenTick.src = "/public/img/tick.gif";
greenTick.src = "/img/tick.gif";
let redTick = document.createElement("img");
redTick.src = "/public/img/wrong.gif";
redTick.src = "/img/wrong.gif";

if (val == answers[qno]) {
let tickContainer = document.getElementById(`tickContainer${qno}`);
Expand Down

0 comments on commit 2c7628f

Please sign in to comment.