Skip to content

Commit

Permalink
testing a hover text
Browse files Browse the repository at this point in the history
  • Loading branch information
seojinjung committed Jul 15, 2024
1 parent 0dcc024 commit 52ce4cc
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion docs/_sections/about.html
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
<h2>
{{ site.data.about.name }}
{% if site.data.about.pronunciation %} <span class="text-primary"> {{ site.data.about.pronunciation }} </span> {% endif %}
{% if site.data.about.pronunciation-emoji %} <span id="volumeEmoji" role="button"> {{ site.data.about.pronunciation-emoji }} </span> {% endif %}
{% if site.data.about.pronunciation-emoji %} <span id="volumeEmoji" role="button"> {{ site.data.about.pronunciation-emoji }} <span class="hover-text"> hear my name </span> </span> {% endif %}
</h2>
<p></p>
{{ site.data.about.first-paragraph }}
Expand Down
Binary file removed docs/assets/sounds/khang.mp3
Binary file not shown.
1 change: 0 additions & 1 deletion docs/js/scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ btn.on('click', function(e) {
clickSound.play();
});


// Play pronunciation audio when the emoji is clicked
document.getElementById('volumeEmoji').addEventListener('click', function() {
const pronunicationAudio = new Audio('assets/sounds/seojinjung.mp3');
Expand Down

0 comments on commit 52ce4cc

Please sign in to comment.