This commit is contained in:
parent
54f4c104f1
commit
f511abd906
|
@ -7,7 +7,7 @@ $(document).ready(function () {
|
|||
});
|
||||
|
||||
function setEvents() {
|
||||
const heartEl = document.querySelector('body > h1 > span');
|
||||
const heartEl = document.querySelector('body > h1 > span');
|
||||
heartEl.addEventListener('click', function() {
|
||||
const key = prompt('Introduce la clave');
|
||||
localStorage.setItem('vnKey', key);
|
||||
|
|
Loading…
Reference in New Issue