Skip to content

Commit

Permalink
Merge pull request #120 from Shu12388y/main
Browse files Browse the repository at this point in the history
added the video links issue number #3
  • Loading branch information
JAYESHBATRA authored Jan 14, 2024
2 parents d6e911f + 3c9522d commit ec7f0c3
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Pages/Quizes/tests/button-1/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -169,10 +169,14 @@ const quizData = [
document.getElementsByClassName('recommendations')[0].appendChild(temp);
}
// this is for recommended videos
var linkArray=['https://youtu.be/22mc0XGLlJg','https://www.youtube.com/live/1DWZFkipYtE?si=BVOGWeUHCj1tnd8L','https://youtu.be/Qn4xTMvMpvk?si=6-4FRjdo8b_oEDes','https://youtu.be/CyY_97Z9P54?si=VyZhmZPsgSH0WTe_','https://youtu.be/d7lVcc5M5Tg?si=MDC3NLt1z-QabYb6','https://youtu.be/dZGDUKQa_6g?si=i4tTFSIxvn4YF8Tk','https://youtu.be/V7BL9HKZYMY?si=J3z7GHvpkFhxKmLr','https://youtu.be/pdJeQUd2g_4?si=0nEre6pGbX-pIVbB','https://youtu.be/Q9-JjyAEqnU?si=S9blYvkBdfxK5O_K','https://youtu.be/-YG11QCiDvM?si=QCCRIF9ufm6fZwZm'];
var link = document.createElement("a");
var image = document.createElement("img");
image.setAttribute("src", "img/" + weak_topics[i] + ".png");
temp.className = 'thumbnail';
document.querySelector(".recommendation-thumbnails").appendChild(image);
link.setAttribute("href", linkArray[i]);
link.appendChild(image);
document.querySelector(".recommendation-thumbnails").appendChild(link);
}

for (i = 0; i < weak_topics.length; i++) {
Expand Down

0 comments on commit ec7f0c3

Please sign in to comment.