I am doing the "30 Day Vanilla JS Coding Challenge" : https://javascript30.com/
There is code line in the first exercise :
function playSound(e) {
const audio = document.querySelector(`audio[data-key="${e.keyCode}"]`);
}
1 - why does he uses the "backquote" (`) insted of simple single or double quote? (" or ') ?
2 - What does the curly brace and dollar sign means here? ${e.keyCode}
I do not get this syntax for Javascript...
Thanks!