test #11

Merged
robert merged 9 commits from test into master 2023-02-16 09:24:15 +00:00
1 changed files with 0 additions and 1 deletions
Showing only changes of commit d1e1f46621 - Show all commits

View File

@ -10,7 +10,6 @@ function setEvents() {
const heartEl = document.querySelector('body > h1 > span'); const heartEl = document.querySelector('body > h1 > span');
heartEl.addEventListener('click', function() { heartEl.addEventListener('click', function() {
const key = prompt('Introduce la clave'); const key = prompt('Introduce la clave');
console.log('key', key)
if (key === null) return if (key === null) return
localStorage.setItem('vnKey', key); localStorage.setItem('vnKey', key);
}); });