Prime810 commited on
Commit
9054fc6
·
verified ·
1 Parent(s): b09ab19

Update Frontend/scripts.js

Browse files
Files changed (1) hide show
  1. Frontend/scripts.js +2 -0
Frontend/scripts.js CHANGED
@@ -47,6 +47,8 @@ function captureAndSend() {
47
  `<img src="${data.emoji}" style="width:200px; border-radius:10px;">`;
48
  document.getElementById("emotionText").textContent =
49
  `Emotion: ${data.emotion}`;
 
 
50
 
51
  // Show download button
52
  const link = document.getElementById("downloadEmoji");
 
47
  `<img src="${data.emoji}" style="width:200px; border-radius:10px;">`;
48
  document.getElementById("emotionText").textContent =
49
  `Emotion: ${data.emotion}`;
50
+ document.getElementById("emojiSound").play();
51
+
52
 
53
  // Show download button
54
  const link = document.getElementById("downloadEmoji");